diff options
| author | Jeff Carr <[email protected]> | 2024-12-11 18:50:14 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-11 18:50:14 -0600 |
| commit | 353290ecb1ba1f84e55cbcc23233055a26f7208f (patch) | |
| tree | 2869a7a3797fb1c6444e8eb8152583a00d8fe6f1 /exit.go | |
| parent | aff3268ca6a7b6034dfbf9a9cf7ee01005a6a97f (diff) | |
attempt to make a patchset protobuf
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("forge failed: ", err, me.forge.GetGoSrc()) + os.Exit(-1) +} |
