func strings.TrimSuffix
5 uses
strings (current package)
strings.go#L1081: func TrimSuffix(s, suffix string) string {
crypto/x509
verify.go#L985: host = strings.TrimSuffix(host, ".")
verify.go#L1041: host = toLowerCaseASCII(strings.TrimSuffix(host, "."))
net/http
fs.go#L731: index := strings.TrimSuffix(name, "/") + indexPage
http.go#L56: return strings.TrimSuffix(host, ":")
![]() |
The pages are generated with Golds v0.7.6. (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. |