func strings.TrimPrefix
9 uses
strings (current package)
strings.go#L1043: func TrimPrefix(s, prefix string) string {
net/http
fs.go#L394: return strings.TrimPrefix(a, "W/") == strings.TrimPrefix(b, "W/")
fs.go#L774: name = strings.TrimPrefix(name, "/")
h2_bundle.go#L6579: trailerKey := strings.TrimPrefix(k, http2TrailerPrefix)
h2_bundle.go#L8968: path = strings.TrimPrefix(path, req.URL.Scheme+"://"+host)
response.go#L256: text = strings.TrimPrefix(text, strconv.Itoa(r.StatusCode)+" ")
server.go#L2170: p := strings.TrimPrefix(r.URL.Path, prefix)
server.go#L2171: rp := strings.TrimPrefix(r.URL.RawPath, prefix)
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. |