func github.com/yuin/goldmark/util.StringToReadOnlyBytes
8 uses
github.com/yuin/goldmark/util (current package)
util.go#L43: b.Write(StringToReadOnlyBytes(value))
util.go#L61: b.Append(StringToReadOnlyBytes(value))
util.go#L725: cob.Write(StringToReadOnlyBytes(url.QueryEscape(string(v[i:stop]))))
util_unsafe.go#L16: func StringToReadOnlyBytes(s string) (bs []byte) {
github.com/yuin/goldmark/ast
ast.go#L404: n.SetAttribute(util.StringToReadOnlyBytes(name), value)
ast.go#L422: return n.Attribute(util.StringToReadOnlyBytes(s))
github.com/yuin/goldmark-emoji
emoji.go#L291: fmt.Fprintf(w, `<span title="%s">:%s:</span>`, util.EscapeHTML(util.StringToReadOnlyBytes(node.Value.Name)), node.ShortName)
emoji.go#L315: fmt.Fprintf(w, r.TwemojiTemplate, util.EscapeHTML(util.StringToReadOnlyBytes(node.Value.Name)), strings.Join(values, "-"), s)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |