func bytes.Cut
6 uses
bytes (current package)
bytes.go#L1355: func Cut(s, sep []byte) (before, after []byte, found bool) {
encoding/pem
pem.go#L96: } else if _, after, ok := bytes.Cut(rest, pemStart); ok {
pem.go#L122: key, val, ok := bytes.Cut(line, colon)
net/http/internal
chunked.go#L194: p, _, _ = bytes.Cut(p, semi)
net/textproto
reader.go#L524: k, v, ok := bytes.Cut(kv, colon)
reader.go#L610: line, peek, _ = bytes.Cut(peek, nl)
|
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |