net/url.URL.Hostname (method)
6 uses
net/url (current package)
url.go#L1138: func (u *URL) Hostname() string {
net/http
transport.go#L2720: addr := url.Hostname()
github.com/aws/aws-sdk-go/aws
url.go#L11: return url.Hostname()
github.com/go-git/go-git/v5/plumbing/transport
common.go#L194: Host: u.Hostname(),
golang.org/x/net/proxy
proxy.go#L93: addr := u.Hostname()
vendor/golang.org/x/net/http/httpproxy
proxy.go#L282: addr := url.Hostname()
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |