func bytes.Cut
9 uses
bytes (current package)
bytes.go#L1405: func Cut(s, sep []byte) (before, after []byte, found bool) {
encoding/pem
pem.go#L142: key, val, ok := bytes.Cut(line, colon)
go/build
build.go#L1327: comment, _, _ = bytes.Cut(data[2:], newline)
build.go#L1330: comment, _, ok = bytes.Cut(data[2:], starSlash)
net/http/internal
chunked.go#L207: p, _, _ = bytes.Cut(p, semi)
net/textproto
reader.go#L553: k, v, ok := bytes.Cut(kv, colon)
reader.go#L630: line, peek, _ = bytes.Cut(peek, nl)
runtime/pprof
proto.go#L692: f, line, _ = bytes.Cut(line, space)
proto.go#L698: line, data, _ = bytes.Cut(data, newline)