diff options
| author | Jeff Carr <[email protected]> | 2025-10-15 00:25:32 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-15 00:25:32 -0500 |
| commit | 6bf6cd03a651013a327d31427d0366cd8aa1c8de (patch) | |
| tree | 5d744cc6ab2c7a4569379a0522371e8e2862e03a /exit.go | |
| parent | 97a695752040ccf96335c5e593bd9856a61a5fb6 (diff) | |
try out an If(key) functionv0.0.25
Diffstat (limited to 'exit.go')
| -rw-r--r-- | exit.go | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4,13 +4,12 @@ package config // see how this turns out import ( + "fmt" "os" - - "go.wit.com/log" ) // todo: figure out how to pass this back to argv func BadExit(reason string, err error) { - log.Exit("lib/config exiting here", reason, err) + fmt.Println("lib/config bad exit. no app callback here. FIXME", reason, err) os.Exit(-1) } |
