diff options
| author | Jeff Carr <[email protected]> | 2025-09-11 03:36:40 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-11 03:36:40 -0500 |
| commit | c638819b0036c496b76a4d530e8add3f3c8ff58a (patch) | |
| tree | 5ff58e490ad8f745338bef13ef10f0cd1e4d94d8 /exit.go | |
| parent | 735bfd81223430b900d996b30c22b82b8e3a1146 (diff) | |
new init() and config()
Diffstat (limited to 'exit.go')
| -rw-r--r-- | exit.go | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +package main + +import ( + "os" + + "go.wit.com/log" +) + +func okExit(thing string) { + log.Info(thing, "ok") + // log.Info("Finished go-clean on", check.GetGoPath(), "ok") + os.Exit(0) +} + +func badExit(err error) { + log.Info("go-gui-toolkits failed: ", err) + os.Exit(-1) +} |
