diff options
| author | Jeff Carr <[email protected]> | 2025-09-11 03:36:40 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-11 03:36:40 -0500 |
| commit | c638819b0036c496b76a4d530e8add3f3c8ff58a (patch) | |
| tree | 5ff58e490ad8f745338bef13ef10f0cd1e4d94d8 /main.go | |
| parent | 735bfd81223430b900d996b30c22b82b8e3a1146 (diff) | |
new init() and config()
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -38,19 +38,13 @@ func main() { if argv.Hostname != "" { HOSTNAME = argv.Hostname } - forge = forgepb.Init() gitMap = make(map[string]*gitpb.Repo) repoMap = make(map[string]string) - /* - all := forge.Repos.SortByGoPath() - for all.Scan() { - repo := all.Next() - - log.Info("forge protobuf has:", repo.GoPath) - } - */ + // read in forge info + cfg := configInit() + forge = forgepb.InitFromConfig(cfg) // parse the repomap file readRepomap() |
