package main import ( "os" "go.wit.com/log" ) func okExit(thing string) { log.Info(thing, "ok") if configSave { me.forge.SetConfigSave(configSave) } // log.Info("Finished go-clean on", check.GetGoPath(), "ok") me.forge.Exit() } func badExit(err error) { log.Info("forge failed: ", err, me.forge.GetGoSrc()) os.Exit(-1) }