diff options
| author | Jeff Carr <[email protected]> | 2025-09-11 04:38:22 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-11 04:38:22 -0500 |
| commit | 7cf1758a363ae80b7adf498600c2c138ec526b11 (patch) | |
| tree | 46ba5a6319ae9159ae3fce0e2242dca0824a591a /config.go | |
| parent | ad1144efe5d937ebcd89dcded5834a0911fe3209 (diff) | |
back to a common Init()
Diffstat (limited to 'config.go')
| -rw-r--r-- | config.go | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/config.go b/config.go deleted file mode 100644 index 24f047a..0000000 --- a/config.go +++ /dev/null @@ -1,19 +0,0 @@ -package main - -import ( - "go.wit.com/lib/config" - "go.wit.com/lib/protobuf/forgepb" - "go.wit.com/log" -) - -// sent via -ldflags - -func configInit() *forgepb.ForgeConfigs { - configs := new(forgepb.ForgeConfigs) - err := config.ConfigLoad(configs, "forge", "forge") - if err != nil { - log.Info("This tool requires your repos be scanned by forge first") - badExit(err) - } - return configs -} |
