diff options
| author | Jeff Carr <[email protected]> | 2025-09-13 05:33:11 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-13 05:33:11 -0500 |
| commit | 0f895e83e62749bb1d716033f5f300d9d1c548ac (patch) | |
| tree | f0d29c4b96f998469cefe140006c4e0a20a361aa /forgeConfig.config.go | |
| parent | ce4af38e8b7f05a6d8b48bc957091de0b0b0a9e7 (diff) | |
use config GO library
Diffstat (limited to 'forgeConfig.config.go')
| -rw-r--r-- | forgeConfig.config.go | 4 |
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 |
