func strings.Contains
25 uses
strings (current package)
strings.go#L60: func Contains(s, substr string) bool {
crypto/x509
parser.go#L585: if strings.Contains(constraint, "@") {
root_unix.go#L107: return err == nil && !strings.Contains(target, "/")
verify.go#L397: if strings.Contains(constraint, "@") {
verify.go#L424: if strings.Contains(host, ":") && !strings.HasSuffix(host, "]") {
encoding/pem
pem.go#L243: if strings.Contains(k, ":") {
flag
flag.go#L1014: } else if strings.Contains(name, "=") {
github.com/go-faster/errors
format.go#L43: if !Trace() || strings.Contains(format, "%w") {
github.com/gotd/td/tdp
tdp.go#L64: if i > min && i < max && strings.Contains(fieldName, "date") {
golang.org/x/net/proxy
per_host.go#L104: if strings.Contains(host, "/") {
net/http
cookie.go#L317: if net.ParseIP(v) != nil && !strings.Contains(v, ":") {
fs.go#L745: if !strings.Contains(v, "..") {
h2_bundle.go#L3352: if strings.Contains(e, "http2debug=1") {
h2_bundle.go#L3355: if strings.Contains(e, "http2debug=2") {
h2_bundle.go#L4553: if strings.Contains(str, "use of closed network connection") {
h2_bundle.go#L7040: if !strings.Contains(v, ",") {
server.go#L1530: if !strings.Contains(v, ",") {
server.go#L2365: if !strings.Contains(h, ":") {
server.go#L2952: if strings.Contains(r.URL.RawQuery, ";") {
net/url
url.go#L547: if segment, _, _ := strings.Cut(rest, "/"); strings.Contains(segment, ":") {
url.go#L596: if !strings.Contains(userinfo, ":") {
url.go#L844: if segment, _, _ := strings.Cut(path, "/"); strings.Contains(segment, ":") {
url.go#L936: if strings.Contains(key, ";") {
path/filepath
match.go#L51: return !strings.Contains(name, string(Separator)), nil
regexp
regexp.go#L580: if strings.Contains(repl, "$") {
|
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. |