func strings.TrimPrefix
9 uses
strings (current package)
strings.go#L1122: func TrimPrefix(s, prefix string) string {
net/http
fs.go#L470: return strings.TrimPrefix(a, "W/") == strings.TrimPrefix(b, "W/")
fs.go#L891: name = strings.TrimPrefix(name, "/")
h2_bundle.go#L6792: trailerKey := strings.TrimPrefix(k, http2TrailerPrefix)
response.go#L256: text = strings.TrimPrefix(text, strconv.Itoa(r.StatusCode)+" ")
server.go#L2339: p := strings.TrimPrefix(r.URL.Path, prefix)
server.go#L2340: rp := strings.TrimPrefix(r.URL.RawPath, prefix)
net/http/internal/httpcommon
httpcommon.go#L257: path = strings.TrimPrefix(path, req.URL.Scheme+"://"+host)
![]() |
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. |