func strings.Index
52 uses
strings (current package)
strings.go#L51: i := Index(s, substr)
strings.go#L62: return Index(s, substr) >= 0
strings.go#L135: return Index(s, string(r))
strings.go#L251: m := Index(s, sep)
strings.go#L1021: j += Index(s[start:], old)
strings.go#L1097: func Index(s, substr string) int {
strings.go#L1182: if i := Index(s, sep); i >= 0 {
github.com/aws/aws-sdk-go-v2/aws/signer/internal/v4
host.go#L53: if i := strings.Index(hostport, "]:"); i != -1 {
util.go#L24: j = strings.Index(str, doubleSpace)
util.go#L58: if idx := strings.Index(opaque, queryStart); idx >= 0 {
util.go#L63: if strings.Index(opaque, schemeSep) == 0 {
util.go#L68: if idx := strings.Index(opaque, pathSep); idx >= 0 {
github.com/aws/aws-sdk-go-v2/aws/signer/v4
middleware.go#L353: if idx := strings.Index(p, authHeaderSignatureElem); idx >= 0 {
github.com/aws/aws-sdk-go-v2/internal/v4a/internal/v4
host.go#L53: if i := strings.Index(hostport, "]:"); i != -1 {
util.go#L24: j = strings.Index(str, doubleSpace)
github.com/aws/aws-sdk-go-v2/service/s3
serializers.go#L3593: if strings.Index(string(v.ObjectAttributes[i]), `,`) != -1 || strings.Index(string(v.ObjectAttributes[i]), `"`) != -1 {
github.com/aws/smithy-go/transport/http
headerlist.go#L100: valueLen = strings.Index(remaining, ",")
github.com/go-pg/pg/v10/orm
model_table_struct.go#L394: ind := strings.Index(s, "__")
query.go#L713: ind := strings.Index(order, " ")
github.com/robfig/cron/v3
parser.go#L97: i := strings.Index(spec, " ")
parser.go#L98: eq := strings.Index(spec, "=")
go/ast
ast.go#L172: colon := strings.Index(c, ":")
go/build
build.go#L1948: i := strings.Index(name, "_")
go/doc
comment.go#L116: if i := strings.Index(match, close); i >= 0 && i < strings.Index(match, open) {
go/types
errors.go#L154: isInvalidErr := isInternal && (strings.Index(e.Msg, "invalid operand") > 0 || strings.Index(e.Msg, "invalid type") > 0)
golang.org/x/net/idna
idna10.0.0.go#L736: if strings.Index(s, zwj) == -1 && strings.Index(s, zwnj) == -1 {
golang.org/x/tools/go/packages
golist.go#L171: eqidx := strings.Index(pattern, "=")
golist.go#L1020: abspath := strings.TrimSpace(errstr[strings.Index(errstr, noSuchDirectory)+len(noSuchDirectory):])
golist.go#L1062: colon := strings.Index(stderrStr, ":")
golang.org/x/tools/internal/gcimporter
bimport.go#L739: if i := strings.Index(name, "ยท"); i > 0 {
google.golang.org/grpc
trace.go#L41: if i := strings.Index(m, "/"); i >= 0 {
google.golang.org/grpc/internal/transport
http_util.go#L389: m1 := strings.Index(target, ":")
http_util.go#L390: m2 := strings.Index(target, ":/")
internal/goroot
gc.go#L102: i := strings.Index(path, "/")
math/big
ratconv.go#L65: if sep := strings.Index(s, "/"); sep >= 0 {
mime
encodedword.go#L232: i := strings.Index(header, "=?")
encodedword.go#L244: start := strings.Index(header, "=?")
encodedword.go#L250: i := strings.Index(header[cur:], "?")
encodedword.go#L268: j := strings.Index(header[cur:], "?=")
net/http
server.go#L2165: if i := strings.Index(url, "?"); i != -1 {
net/url
url.go#L551: if i := strings.Index(authority, "/"); i >= 0 {
url.go#L625: zone := strings.Index(host[:i], "%25")
regexp
regexp.go#L409: return strings.Index(i.str[pos:], re.prefix)
regexp/syntax
parse.go#L1457: i := strings.Index(s[2:], ":]")
text/template/parse
lex.go#L253: if x := strings.Index(l.input[l.pos:], l.leftDelim); x >= 0 {
lex.go#L323: i := strings.Index(l.input[l.pos:], rightComment)
vendor/golang.org/x/net/idna
idna10.0.0.go#L736: if strings.Index(s, zwj) == -1 && strings.Index(s, zwnj) == -1 {