func bytes.Cut
6 uses
bytes (current package)
bytes.go#L1343: 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#L207: p, _, _ = bytes.Cut(p, semi)
net/textproto
reader.go#L548: k, v, ok := bytes.Cut(kv, colon)
reader.go#L625: line, peek, _ = bytes.Cut(peek, nl)
 |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |