func bytes.TrimRight
8 uses
bytes (current package)
bytes.go#L925: 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, " ")...)
github.com/prometheus/procfs
proc.go#L134: return strings.Split(string(bytes.TrimRight(data, string("\x00"))), string(byte(0))), nil
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")...)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |