diff options
Diffstat (limited to 'argv.Exit.go')
| -rw-r--r-- | argv.Exit.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/argv.Exit.go b/argv.Exit.go index bbf5c70..c2f33cb 100644 --- a/argv.Exit.go +++ b/argv.Exit.go @@ -15,6 +15,14 @@ import ( // also, it supports a custom Exit() back to your application +func GoodExit(msg string) { + me.pb.GoodExit(msg) +} + +func BadExit(msg string, err error) { + me.pb.BadExit(msg, err) +} + func (pb *Argv) GoodExit(msg string) { go ExitWatchdog() if me.appExit != nil { |
