func bytes.TrimFunc
5 uses
bytes (current package)
bytes.go#L792: func TrimFunc(s []byte, f func(r rune) bool) []byte {
bytes.go#L914: return TrimFunc(s, makeCutsetFunc(cutset))
bytes.go#L939: return TrimFunc(s[start:], unicode.IsSpace)
bytes.go#L951: return TrimFunc(s[start:stop], unicode.IsSpace)
github.com/google/go-cmp/cmp
report_reflect.go#L211: if len(b) > 0 && utf8.Valid(b) && len(bytes.TrimFunc(b, isPrintSpace)) == 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. |