func internal/stringslite.TrimSuffix
7 uses
internal/stringslite (current package)
strings.go#L136: func TrimSuffix(s, suffix string) string {
embed
embed.go#L265: if i < len(files) && stringslite.TrimSuffix(files[i].name, "/") == name {
net
conf.go#L349: hostname = stringslite.TrimSuffix(hostname, ".")
dnsclient_unix.go#L491: name = stringslite.TrimSuffix(name, ".")
lookup.go#L568: ip, err := netip.ParseAddr(stringslite.TrimSuffix(mx.Host, "."))
os
executable_procfs.go#L27: return stringslite.TrimSuffix(path, " (deleted)"), err
strings
strings.go#L1129: return stringslite.TrimSuffix(s, suffix)
![]() |
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. |