func strings.LastIndex
18 uses
strings (current package)
strings.go#L82: func LastIndex(s, substr string) int {
crypto/tls
handshake_client.go#L1300: if i := strings.LastIndex(host, "%"); i > 0 {
tls.go#L151: colonPos := strings.LastIndex(addr, ":")
github.com/refraction-networking/utls
handshake_client.go#L1350: if i := strings.LastIndex(host, "%"); i > 0 {
tls.go#L139: colonPos := strings.LastIndex(addr, ":")
net/http
http.go#L111: func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }
request.go#L803: i := strings.LastIndex(host, "]")
request.go#L807: j := strings.LastIndex(host[:i], "%")
transport.go#L2091: h = h[:strings.LastIndex(h, ":")]
net/url
url.go#L512: i := strings.LastIndex(authority, "@")
url.go#L549: if openBracketIdx := strings.LastIndex(host, "["); openBracketIdx > 0 {
url.go#L554: closeBracketIdx := strings.LastIndex(host, "]")
url.go#L607: lastColon := strings.LastIndex(host, ":")
url.go#L1030: i := strings.LastIndex(base, "/")
vendor/golang.org/x/net/http/httpproxy
proxy.go#L297: 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, "-")
 |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |