func strings.NewReplacer
5 uses
strings (current package)
replace.go#L32: func NewReplacer(oldnew ...string) *Replacer {
mime/multipart
writer.go#L128: var quoteEscaper = strings.NewReplacer("\\", "\\\\", `"`, "\\\"", "\r", "%0D", "\n", "%0A")
net/http
cookie.go#L490: var cookieNameSanitizer = strings.NewReplacer("\n", "-", "\r", "-")
header.go#L139: var headerNewlineToSpace = strings.NewReplacer("\n", " ", "\r", " ")
server.go#L2422: var htmlReplacer = strings.NewReplacer(
 |
The pages are generated with Golds v0.8.4. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |