func strings.Index
43 uses
strings (current package)
iter.go#L56: i := Index(s, sep)
strings.go#L52: i := Index(s, substr)
strings.go#L63: return Index(s, substr) >= 0
strings.go#L309: m := Index(s, sep)
strings.go#L1165: j += Index(s[start:], old)
strings.go#L1270: func Index(s, substr string) int {
github.com/robfig/cron/v3
parser.go#L97: i := strings.Index(spec, " ")
parser.go#L98: eq := strings.Index(spec, "=")
go.uber.org/goleak/internal/stack
stacks.go#L259: idx := strings.Index(after, " in goroutine")
go/ast
ast.go#L173: colon := strings.Index(c, ":")
go/build
build.go#L2032: i := strings.Index(name, "_")
go/doc
example.go#L693: start := strings.Index(name, "[")
go/doc/comment
parse.go#L675: i := strings.Index(line, "]:")
parse.go#L682: j := strings.Index(url, "://")
go/printer
comment.go#L124: colon := strings.Index(c, ":")
go/types
errors.go#L120: if strings.Index(msg, "invalid operand") > 0 || strings.Index(msg, "invalid type") > 0 {
errors.go#L179: if i := strings.Index(msg, "\n"); i >= 0 {
golang.org/x/net/idna
idna10.0.0.go#L735: if strings.Index(s, zwj) == -1 && strings.Index(s, zwnj) == -1 {
golang.org/x/tools/go/packages
golist.go#L181: eqidx := strings.Index(pattern, "=")
golist.go#L959: abspath := strings.TrimSpace(errstr[strings.Index(errstr, noSuchDirectory)+len(noSuchDirectory):])
golist.go#L1001: colon := strings.Index(stderrStr, ":")
google.golang.org/grpc
trace.go#L39: if i := strings.Index(m, "/"); i >= 0 {
google.golang.org/grpc/internal/transport
http_util.go#L445: m1 := strings.Index(target, ":")
http_util.go#L446: m2 := strings.Index(target, ":/")
internal/goroot
gc.go#L110: 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#L2394: if i := strings.Index(url, "?"); i != -1 {
net/url
url.go#L565: if i := strings.Index(authority, "/"); i >= 0 {
url.go#L644: zone := strings.Index(host[:i], "%25")
os/exec
exec.go#L1266: i := strings.Index(kv, "=")
exec.go#L1271: i = strings.Index(kv[1:], "=") + 1
regexp
regexp.go#L405: return strings.Index(i.str[pos:], re.prefix)
regexp/syntax
parse.go#L1603: i := strings.Index(s[2:], ":]")
text/template/parse
lex.go#L271: if x := strings.Index(l.input[l.pos:], l.leftDelim); x >= 0 {
lex.go#L346: x := strings.Index(l.input[l.pos:], rightComment)
vendor/golang.org/x/net/idna
idna10.0.0.go#L735: if strings.Index(s, zwj) == -1 && strings.Index(s, zwnj) == -1 {