summaryrefslogtreecommitdiff
path: root/goSrcScan.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-11 19:31:37 -0600
committerJeff Carr <[email protected]>2024-12-11 19:31:37 -0600
commitdae2653975b6db822633430a97adbb21b52a99ff (patch)
tree40e9fe53f9149ef090fb7bd40d2c77709b7904c8 /goSrcScan.go
parent0235d4d0961d71acd3b678dad009d68713bb6621 (diff)
use 'all' instead of 'loop'
Diffstat (limited to 'goSrcScan.go')
-rw-r--r--goSrcScan.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/goSrcScan.go b/goSrcScan.go
index d7a6cea..473e36b 100644
--- a/goSrcScan.go
+++ b/goSrcScan.go
@@ -133,9 +133,9 @@ func (f *Forge) rillScanDirs(gopaths []string) (int, error) {
func (f *Forge) RillRedoGoMod() int {
var all []*gitpb.Repo
- repos := f.Repos.SortByGoPath()
- for repos.Scan() {
- repo := repos.Next()
+ tmp := f.Repos.SortByGoPath()
+ for tmp.Scan() {
+ repo := tmp.Next()
if !repo.IsValid() {
log.Printf("%10s %-50s", "old?", repo.GetGoPath())
continue