From 7b4eb41de7e1c65c07dfc8f04f1263b3f258b268 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 25 Feb 2024 18:37:44 -0600 Subject: better names with Init() vs New() --- debugger.go | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 debugger.go (limited to 'debugger.go') diff --git a/debugger.go b/debugger.go deleted file mode 100644 index 116d549..0000000 --- a/debugger.go +++ /dev/null @@ -1,26 +0,0 @@ -package main - -/* - enables GUI options and the debugger in your application -*/ - -import ( - "go.wit.com/dev/alexflint/arg" - "go.wit.com/lib/debugger" - "go.wit.com/log" -) - -var args struct { -} - -func init() { - arg.MustParse(&args) - - if debugger.ArgDebug() { - log.Info("cmd line --debugger == true") - go func() { - log.Sleep(2) - debugger.DebugWindow() - }() - } -} -- cgit v1.2.3