diff options
Diffstat (limited to 'get.go')
| -rw-r--r-- | get.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,8 +1,8 @@ package hostname -// functions to import and export the protobuf -// data to and from config files - +// returns the hostname +// hostname is always set to the best effort +// error is set if hostname isn't real func Get() (string, error) { hostname, err := osGetHostname() return hostname, err |
