func bytes.TrimSuffix
3 uses
bytes (current package)
bytes.go#L885: func TrimSuffix(s, suffix []byte) []byte {
go.pact.im/x/logs
writer.go#L44: msg := string(bytes.TrimSuffix(buf, []byte{'\n'}))
log/slog
logger.go#L100: buf = bytes.TrimSuffix(buf, []byte{'\n'})
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)