func bytes.TrimRight

8 uses

	bytes (current package)
		bytes.go#L992: func TrimRight(s []byte, cutset string) []byte {

	encoding/pem
		pem.go#L50: 	return bytes.TrimRight(data[0:i], " \t"), data[j:]

	github.com/google/go-cmp/cmp
		report_text.go#L271: 				b = append(b, bytes.TrimRight(batch, " ")...)

	google.golang.org/protobuf/internal/encoding/json
		decode_number.go#L174: 		frac: bytes.TrimRight(frac, "0"), // Remove unnecessary 0s to the right.

	html/template
		js.go#L29: 	s = bytes.TrimRight(s, "\t\n\f\r \u2028\u2029")
		transition.go#L441: 			p := bytes.TrimRight(s[:i], "\t\n\f\r ")

	math/big
		ftoa.go#L439: 	buf = append(buf, bytes.TrimRight(m.utoa(16), "0")...)

	mellium.im/sasl
		scram.go#L129: 				ival := string(bytes.TrimRight(field[2:], "\x00"))