diff options
| author | Jeff Carr <[email protected]> | 2025-10-21 09:22:12 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-21 09:22:12 -0500 |
| commit | e9c3000abafd70702cb9db6e3738115012f498eb (patch) | |
| tree | 2d9223d8a5bb6d5d7ddc0724dcdbf720e0bf0144 /argv.Exit.go | |
| parent | ce8d34e70c9de0e00343890b065ae38fafba0eab (diff) | |
update init to lib/ENV
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 { |
