func strings.LastIndex
21 uses
strings (current package)
strings.go#L76: func LastIndex(s, substr string) int {
crypto/tls
handshake_client.go#L992: if i := strings.LastIndex(host, "%"); i > 0 {
tls.go#L148: colonPos := strings.LastIndex(addr, ":")
io/ioutil
tempfile.go#L87: if pos := strings.LastIndex(pattern, "*"); pos != -1 {
net/http
http.go#L50: func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }
request.go#L770: i := strings.LastIndex(host, "]")
request.go#L774: j := strings.LastIndex(host[:i], "%")
transport.go#L1841: h = h[:strings.LastIndex(h, ":")]
net/url
url.go#L583: i := strings.LastIndex(authority, "@")
url.go#L623: i := strings.LastIndex(host, "]")
url.go#L654: } else if i := strings.LastIndex(host, ":"); i != -1 {
url.go#L995: i := strings.LastIndex(base, "/")
src.elv.sh/pkg/eval/mods/str
str.go#L584: "last-index": strings.LastIndex,
src.elv.sh/pkg/rpc
server.go#L593: dot := strings.LastIndex(req.ServiceMethod, ".")
src.elv.sh/pkg/strutil
eol_sol.go#L19: return strings.LastIndex(s, "\n") + 1
testing
testing.go#L536: if index := strings.LastIndex(file, "/"); index >= 0 {
testing.go#L538: } else if index = strings.LastIndex(file, "\\"); index >= 0 {
vendor/golang.org/x/net/http/httpproxy
proxy.go#L295: func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }
vendor/golang.org/x/net/idna
punycode.go#L38: pos := 1 + strings.LastIndex(encoded, "-")