package main import "go.wit.com/log" func doScan() { me.forge.ScanGoSrc() } func doGitPull() { me.found.RillGitPull() } func doFix() { all := me.found.SortByGoPath() for all.Scan() { repo := all.Next() if !repo.IsValid() { log.Printf("%10s %-50s", "old?\n", repo.GetGoPath()) continue } log.Printf("running on: %-50s\n", repo.GetGoPath()) cmd := []string{"ls"} repo.Run(cmd) } }