net/url.URL.OmitHost (field)
3 uses
net/url (current package)
url.go#L369: OmitHost bool // do not emit empty host (authority)
url.go#L566: url.OmitHost = true
url.go#L818: if u.OmitHost && u.Host == "" && u.User == nil {
|
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. |