summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-11 03:36:31 -0500
committerJeff Carr <[email protected]>2025-09-11 03:36:31 -0500
commit8e67e31bbed9219d93e2f88aeec6040aaf10020f (patch)
tree1215f4d060e5764f746de6dcb5dd12e07da1a4ea /exit.go
parentb3dc0e265e9d03de5c33d53f152d0bb9baa2a4d1 (diff)
new init & config()
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/exit.go b/exit.go
new file mode 100644
index 0000000..151a176
--- /dev/null
+++ b/exit.go
@@ -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)
+}