func strings.TrimSpace
10 uses
strings (current package)
strings.go#L1007: func TrimSpace(s string) string {
golang.org/x/net/proxy
per_host.go#L100: host = strings.TrimSpace(host)
mime
mediatype.go#L141: mediatype = strings.TrimSpace(strings.ToLower(base))
mediatype.go#L163: if strings.TrimSpace(rest) == ";" {
nhooyr.io/websocket
accept.go#L198: websocketSecKey := strings.TrimSpace(websocketSecKeys[0])
accept.go#L318: vals[i] = strings.TrimSpace(vals[i])
accept.go#L335: v = strings.TrimSpace(v)
accept.go#L337: t = strings.TrimSpace(t)
vendor/golang.org/x/net/http/httpproxy
proxy.go#L190: addr = strings.ToLower(strings.TrimSpace(host))
proxy.go#L216: p = strings.ToLower(strings.TrimSpace(p))
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |