func strings.IndexFunc
6 uses
strings (current package)
strings.go#L76: return IndexFunc(s, f) >= 0
strings.go#L830: func IndexFunc(s string, f func(rune) bool) int {
mime
grammar.go#L31: return strings.IndexFunc(s, isNotTokenChar) < 0
mediatype.go#L267: notPos := strings.IndexFunc(v, isNotTokenChar)
net/http
cookie.go#L467: return strings.IndexFunc(raw, isNotToken) < 0
request.go#L834: return len(method) > 0 && strings.IndexFunc(method, isNotToken) == -1
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. |