diff options
| author | Jeff Carr <[email protected]> | 2025-10-16 13:58:28 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-17 01:45:59 -0500 |
| commit | 411226cf9df0814ff8e714958da87c853b519bc6 (patch) | |
| tree | eea63f72a2614a0cec3c844edbf7cf162e4257e2 /exit.go | |
| parent | 28839452b290b83d409193044c5737a92cc1ec3e (diff) | |
A new life awaits you in the Off-world colonies!v0.0.39
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() |
