diff options
| author | Jeff Carr <[email protected]> | 2025-03-22 08:30:27 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-22 08:30:27 -0500 |
| commit | 88e87f5c1a3b208afdf505145fff406167411c0e (patch) | |
| tree | e521c22b3279d356b5d3245e1577423b30f43780 /init.go | |
| parent | b2ed4102763421924b29ab4bb6be1a1e5b4b9647 (diff) | |
use hostname.Get()v0.0.102
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -9,6 +9,7 @@ import ( "time" "go.wit.com/lib/gui/shell" + "go.wit.com/lib/hostname" "go.wit.com/lib/protobuf/gitpb" "go.wit.com/log" ) @@ -149,6 +150,8 @@ func (f *Forge) InitMachine() { usr, _ := user.Current() f.Config.Username = usr.Username } + f.hostname, _ = hostname.Get() + // log.Info(hostname, err) } // only init's the protobuf. intended to not scan or change anything |
