diff options
Diffstat (limited to 'exit.go')
| -rw-r--r-- | exit.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -package prep +package argvpb import ( "fmt" @@ -15,7 +15,7 @@ import ( // also, it supports a custom Exit() back to your application -func (pb *Auto) GoodExit(msg string) { +func (pb *Argv) GoodExit(msg string) { go ExitWatchdog() if me.appExit != nil { me.appExit() @@ -25,7 +25,7 @@ func (pb *Auto) GoodExit(msg string) { os.Exit(0) } -func (pb *Auto) BadExit(msg string, err error) { +func (pb *Argv) BadExit(msg string, err error) { go ExitWatchdog() if me.appExit != nil { me.appExit() |
