func bytes.TrimSuffix
2 uses
bytes (current package)
bytes.go#L893: func TrimSuffix(s, suffix []byte) []byte {
log/slog
logger.go#L100: buf = bytes.TrimSuffix(buf, []byte{'\n'})
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)