1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package main import ( "go.wit.com/lib/ENV" "go.wit.com/log" ) func okExit(thing string) { log.Info(thing, "ok") // log.Info("Finished go-clean on", check.GetNamespace(), "ok") me.argv.GoodExit(thing) } func badExit(err error) { log.Info("forge failed: ", err, ENV.Get("gopath")) me.argv.BadExit("guireleaser", err) }