diff options
| author | Jeff Carr <[email protected]> | 2025-09-11 03:15:28 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-11 03:15:28 -0500 |
| commit | fa876aa17d653043f51dba5725c41b0db68d8efc (patch) | |
| tree | fc0df4796c533f1033c98c57f1d1b97acd641d58 | |
| parent | 131d6b4178163af89d934eac89de085d2edfd093 (diff) | |
switch to new config
| -rw-r--r-- | config.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config.go b/config.go new file mode 100644 index 0000000..3a98777 --- /dev/null +++ b/config.go @@ -0,0 +1,14 @@ +package main + +import ( + "go.wit.com/lib/config" + "go.wit.com/lib/protobuf/forgepb" +) + +// sent via -ldflags + +func configInit() (*forgepb.ForgeConfigs, error) { + configs := new(forgepb.ForgeConfigs) + err := config.ConfigLoad(configs, "forge", "forge") + return configs, err +} |
