package hostname // functions to import and export the protobuf // data to and from config files import ( "os" ) func osGetHostname() (string, error) { hostname, err := os.Hostname() return hostname, err }