From 3dd6affd6fde2f0af23b35e7014ba59b6233320a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 22 Mar 2025 08:30:15 -0500 Subject: more hostname things --- get.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'get.go') diff --git a/get.go b/get.go index 8028bd1..0395e98 100644 --- a/get.go +++ b/get.go @@ -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 -- cgit v1.2.3