func os.Hostname
4 uses
os (current package)
sys.go#L8: func Hostname() (name string, err error) {
contrib.go.opencensus.io/exporter/stackdriver
stats.go#L183: hostname, err := os.Hostname()
google.golang.org/grpc/internal/resolver/dns
dns_resolver.go#L429: cliHostname, err := os.Hostname()
net
dnsconfig_unix.go#L20: getHostname = os.Hostname // variable for testing
![]() |
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. |