Compare commits
No commits in common. "master" and "v0.22.99" have entirely different histories.
18
exit.go
18
exit.go
|
@ -1,18 +0,0 @@
|
||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"os"
|
|
||||||
|
|
||||||
"go.wit.com/log"
|
|
||||||
)
|
|
||||||
|
|
||||||
func okExit(thing string) {
|
|
||||||
log.Info(thing, "ok")
|
|
||||||
// log.Info("Finished go-clean on", check.GetGoPath(), "ok")
|
|
||||||
os.Exit(0)
|
|
||||||
}
|
|
||||||
|
|
||||||
func badExit(err error) {
|
|
||||||
log.Info("go-gui-toolkits failed: ", err)
|
|
||||||
os.Exit(-1)
|
|
||||||
}
|
|
10
main.go
10
main.go
|
@ -38,11 +38,19 @@ func main() {
|
||||||
if argv.Hostname != "" {
|
if argv.Hostname != "" {
|
||||||
HOSTNAME = argv.Hostname
|
HOSTNAME = argv.Hostname
|
||||||
}
|
}
|
||||||
|
forge = forgepb.Init()
|
||||||
|
|
||||||
gitMap = make(map[string]*gitpb.Repo)
|
gitMap = make(map[string]*gitpb.Repo)
|
||||||
repoMap = make(map[string]string)
|
repoMap = make(map[string]string)
|
||||||
|
|
||||||
forge = forgepb.Init()
|
/*
|
||||||
|
all := forge.Repos.SortByGoPath()
|
||||||
|
for all.Scan() {
|
||||||
|
repo := all.Next()
|
||||||
|
|
||||||
|
log.Info("forge protobuf has:", repo.GoPath)
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// parse the repomap file
|
// parse the repomap file
|
||||||
readRepomap()
|
readRepomap()
|
||||||
|
|
Loading…
Reference in New Issue