strings.Replacer.Replace (method, view implemented interface methods)
13 uses
strings (current package)
replace.go#L95: func (r *Replacer) Replace(s string) string {
github.com/jackc/pgx/v5/pgtype
array.go#L369: return `"` + quoteArrayReplacer.Replace(src) + `"`
composite.go#L571: return `"` + quoteCompositeReplacer.Replace(src) + `"`
hstore.go#L150: buf = append(buf, quoteArrayReplacer.Replace(k)...)
hstore.go#L158: buf = append(buf, quoteArrayReplacer.Replace(*v)...)
tsvector.go#L280: buf = append(buf, tsvectorLexemeReplacer.Replace(lex.Word)...)
html
escape.go#L179: return htmlEscaper.Replace(s)
mime/multipart
writer.go#L131: return quoteEscaper.Replace(s)
net/http
cookie.go#L492: return cookieNameSanitizer.Replace(n)
fs.go#L175: fmt.Fprintf(w, "<a href=\"%s\">%s</a>\n", url.String(), htmlReplacer.Replace(name))
header.go#L206: v = headerNewlineToSpace.Replace(v)
request.go#L694: userAgent = headerNewlineToSpace.Replace(userAgent)
server.go#L2469: return htmlReplacer.Replace(s)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)