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'})