func strings.TrimSuffix
5 uses
strings (current package)
strings.go#L1052: func TrimSuffix(s, suffix string) string {
crypto/x509
verify.go#L967: host = strings.TrimSuffix(host, ".")
verify.go#L1018: host = toLowerCaseASCII(strings.TrimSuffix(host, "."))
net/http
fs.go#L655: index := strings.TrimSuffix(name, "/") + indexPage
http.go#L56: return strings.TrimSuffix(host, ":")
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. |