diff options
| author | Jeff Carr <[email protected]> | 2025-03-22 02:27:07 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-22 02:27:07 -0500 |
| commit | beb811c51d2d59fa0ec66189ec44dae066004299 (patch) | |
| tree | 8257710b0faea6382a61f66539bf0779f76be44a /get.go | |
day1v0.0.1
Diffstat (limited to 'get.go')
| -rw-r--r-- | get.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +package hostname + +// functions to import and export the protobuf +// data to and from config files + +func Get() (string, error) { + hostname, err := osGetHostname() + return hostname, err +} |
