summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-24 18:29:34 -0500
committerJeff Carr <[email protected]>2025-10-24 18:29:34 -0500
commit6ccf7c45a24bf55a8d8ccc5b452dc3496aeac90e (patch)
tree5d53d191da752f083b8b0f0eeb69788a5c9adec9
parent76fd8976018a40d4f452c99ad62419c86f44955d (diff)
s/ENV/env/ for GO, but ENV really is better herev0.5.33
-rw-r--r--argv.template.go4
-rw-r--r--doMtime.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/argv.template.go b/argv.template.go
index 9949255..4e6f4f7 100644
--- a/argv.template.go
+++ b/argv.template.go
@@ -10,7 +10,7 @@ import (
"go.wit.com/dev/alexflint/arg"
"go.wit.com/gui"
- "go.wit.com/lib/ENV"
+ "go.wit.com/lib/env"
"go.wit.com/log"
)
@@ -55,7 +55,7 @@ func (args) WriteHelp() error {
func (args) Exit() {
gui.UnloadToolkits()
- if ENV.Verbose() {
+ if env.Verbose() {
log.Info("argv.Exit() called", APPNAME+".Exit()")
}
// remove this from the template for your app (or make one for youself if you need it)
diff --git a/doMtime.go b/doMtime.go
index 3ca70ed..f3d1f21 100644
--- a/doMtime.go
+++ b/doMtime.go
@@ -14,7 +14,7 @@ import (
"os"
"path/filepath"
- "go.wit.com/lib/ENV"
+ "go.wit.com/lib/env"
"go.wit.com/log"
)
@@ -66,7 +66,7 @@ func doMtime(filebase string) bool {
return false
}
}
- if ENV.Verbose() {
+ if env.Verbose() {
log.Info(filebase + ".proto was older than all pb.go files. No need to re-run autogenpb.")
}
if allerr == nil {