func strings.LastIndex
16 uses
strings (current package)
strings.go#L80: func LastIndex(s, substr string) int {
crypto/tls
handshake_client.go#L1130: if i := strings.LastIndex(host, "%"); i > 0 {
tls.go#L138: colonPos := strings.LastIndex(addr, ":")
go.opentelemetry.io/otel/trace
tracestate.go#L62: atIndex := strings.LastIndex(key, "@")
net/http
http.go#L50: func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }
request.go#L779: i := strings.LastIndex(host, "]")
request.go#L783: j := strings.LastIndex(host[:i], "%")
transport.go#L1873: h = h[:strings.LastIndex(h, ":")]
net/url
url.go#L580: i := strings.LastIndex(authority, "@")
url.go#L620: i := strings.LastIndex(host, "]")
url.go#L651: } else if i := strings.LastIndex(host, ":"); i != -1 {
url.go#L997: 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.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. |