summaryrefslogtreecommitdiff
path: root/verbose.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-28 21:59:48 -0500
committerJeff Carr <[email protected]>2025-10-28 21:59:48 -0500
commit200b76da8a0dd95b524d44e90a92106a9699d9fd (patch)
treefbd9110e1b464278c5b9faa93639fe887494effd /verbose.go
parent05d09b7584b4cd18676c68dd161142044437a7af (diff)
allow libraries to load a specific app env config fileHEADv0.0.13v0.0.12v0.0.11masterdevel
Diffstat (limited to 'verbose.go')
-rw-r--r--verbose.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/verbose.go b/verbose.go
index e3aba43..bcccf70 100644
--- a/verbose.go
+++ b/verbose.go
@@ -1,5 +1,7 @@
package env
+import "os"
+
// this is an experiment at this point to
// see how this turns out
@@ -25,6 +27,10 @@ func Verbose() bool {
return true
}
}
+
+ if os.Getenv("VERBOSE") == "true" {
+ return true
+ }
return false
}