diff options
| author | Jeff Carr <[email protected]> | 2025-02-22 07:17:57 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-22 07:17:57 -0600 |
| commit | 08400c8913919198be7eac8e1fd37fc4a979c7b0 (patch) | |
| tree | 23533ec56c7f5421f26fbe2acb25c76a00321375 /main.go | |
| parent | 8f6f85e51cc4dcc1ba4636e35a2369f92002bdd7 (diff) | |
seperate package from forgev0.0.36
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +package zoopb + +import ( + "go.wit.com/log" +) + +// sent via -ldflags +var VERSION string +var BUILDTIME string + +func InitMachine() *Machine { + machine := new(Machine) + if err := machine.ConfigLoad(); err != nil { + log.Info("zoopb.ConfigLoad() failed", err) + } + machine.InitWit() + + return machine +} |
