func strings.TrimSuffix
7 uses
strings (current package)
strings.go#L1128: func TrimSuffix(s, suffix string) string {
crypto/x509
verify.go#L816: host = strings.TrimSuffix(host, ".")
verify.go#L978: return strings.Split(toLowerCaseASCII(strings.TrimSuffix(host, ".")), ".")
golang.org/x/net/proxy
per_host.go#L142: zone = strings.TrimSuffix(zone, ".")
per_host.go#L151: host = strings.TrimSuffix(host, ".")
net/http
fs.go#L736: index := strings.TrimSuffix(name, "/") + indexPage
http.go#L117: return strings.TrimSuffix(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. |