diff options
| author | Jeff Carr <[email protected]> | 2025-10-21 06:50:52 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-21 06:50:52 -0500 |
| commit | b79731472d70867f9e73cdeeb0917bc287170ee6 (patch) | |
| tree | bff33832f693dbd6795feac322ea895820333493 /argv.template.go | |
| parent | 46aae682f88cd9171e81d536d85436c2b6cfc469 (diff) | |
changed to ENV
Diffstat (limited to 'argv.template.go')
| -rw-r--r-- | argv.template.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/argv.template.go b/argv.template.go index 35a8c99..4af2c7a 100644 --- a/argv.template.go +++ b/argv.template.go @@ -10,6 +10,7 @@ import ( "go.wit.com/dev/alexflint/arg" "go.wit.com/gui" + "go.wit.com/lib/ENV" "go.wit.com/lib/fhelp" "go.wit.com/log" ) @@ -63,8 +64,8 @@ func (args) InitGui() error { func (args) Exit() { gui.UnloadToolkits() - if me.argv.Verbose() { - log.Info("argv.Exit() called", APPNAME+".Exit() because me.argv.Verbose() == true") + if ENV.Verbose() { + log.Info("argv.Exit() called", APPNAME+".Exit() because ENV.Verbose() == true") } // remove this from the template for your app (or make one for youself if you need it) forgeExit() // custom forge shutdown function |
