From 6bf6cd03a651013a327d31427d0366cd8aa1c8de Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 15 Oct 2025 00:25:32 -0500 Subject: try out an If(key) function --- exit.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'exit.go') diff --git a/exit.go b/exit.go index 8e70a55..01ac9a5 100644 --- a/exit.go +++ b/exit.go @@ -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) } -- cgit v1.2.3