func strings.TrimSpace
10 uses
strings (current package)
strings.go#L1091: func TrimSpace(s string) string {
github.com/coder/websocket
accept.go#L220: websocketSecKey := strings.TrimSpace(websocketSecKeys[0])
accept.go#L344: vals[i] = strings.TrimSpace(vals[i])
accept.go#L361: v = strings.TrimSpace(v)
accept.go#L363: t = strings.TrimSpace(t)
golang.org/x/net/proxy
per_host.go#L102: host = strings.TrimSpace(host)
mime
mediatype.go#L144: mediatype = strings.TrimSpace(strings.ToLower(base))
mediatype.go#L166: if strings.TrimSpace(rest) == ";" {
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.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. |