summaryrefslogtreecommitdiff
path: root/forgeConfig.config.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-13 05:33:11 -0500
committerJeff Carr <[email protected]>2025-09-13 05:33:11 -0500
commit0f895e83e62749bb1d716033f5f300d9d1c548ac (patch)
treef0d29c4b96f998469cefe140006c4e0a20a361aa /forgeConfig.config.go
parentce4af38e8b7f05a6d8b48bc957091de0b0b0a9e7 (diff)
use config GO library
Diffstat (limited to 'forgeConfig.config.go')
-rw-r--r--forgeConfig.config.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/forgeConfig.config.go b/forgeConfig.config.go
index 8916329..6b7f084 100644
--- a/forgeConfig.config.go
+++ b/forgeConfig.config.go
@@ -3,6 +3,8 @@
package forgepb
import (
+ "os"
+
"go.wit.com/lib/config"
"go.wit.com/log"
)
@@ -26,7 +28,7 @@ func (cfg *ForgeConfigs) ConfigSave() error {
}
func (cfg *ForgeConfigs) DumpENV() {
- log.Info("todo: DumpENV()")
+ log.Infof("RepoPB file: cfg.ReposPB=%s FORGE_REPOSPB=%s\n", cfg.ReposPB, os.Getenv("FORGE_REPOSPB"))
}
// load the ~/.config/forge/ files