func bytes.TrimRight
7 uses
bytes (current package)
bytes.go#L1069: func TrimRight(s []byte, cutset string) []byte {
encoding/pem
pem.go#L52: 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#L36: s = bytes.TrimRight(s, jsWhitespace)
transition.go#L535: p := bytes.TrimRight(s[:i], "\t\n\f\r ")
math/big
ftoa.go#L439: buf = append(buf, bytes.TrimRight(m.utoa(16), "0")...)