diff options
| author | Jeff Carr <[email protected]> | 2025-10-21 13:43:24 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-21 13:43:24 -0500 |
| commit | f1e9fdedb2cf3af1f8db28b6afabaac220c7f9e9 (patch) | |
| tree | 8aae962ccd96658591634d77ff87d4c3d5429090 /forgeConfig.SaveVerbose.go | |
| parent | 933b2e62463c5ddbe061e83c9a31135573b4f57b (diff) | |
try to isolate Load() and Save()
Diffstat (limited to 'forgeConfig.SaveVerbose.go')
| -rw-r--r-- | forgeConfig.SaveVerbose.go | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/forgeConfig.SaveVerbose.go b/forgeConfig.SaveVerbose.go deleted file mode 100644 index 089ffe8..0000000 --- a/forgeConfig.SaveVerbose.go +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by go.wit.com/apps/autogenpb DO NOT EDIT. -// go install go.wit.com/apps/autogenpb@latest -// -// This file was autogenerated with autogenpb: -// autogenpb v0.5.25-2-g30e8de2 Built on 2025/10/16 09:16:09 ( 3 m) -// Theese sort.pb.go and marshal.pb.go files are autogenerated -// The autogenpb sources have example .proto files with instructions -// - -package forgepb - -import ( - "go.wit.com/lib/ENV" - "go.wit.com/lib/config" - "go.wit.com/log" -) - -func (pb *ForgeConfigs) loadConfig() error { - filename, err := config.LoadByAppName(pb, "forge", "forge") - if err != nil { - log.Info("couldn't load filename:", filename) - log.Info("forge has not been configured") - panic("config failed to load. make a new/blank forge config here?") - } - ENV.SetGlobal("lib/forgepb", "ForgeCfg", pb.Filename) - // init new config here - return err -} |
