summaryrefslogtreecommitdiff
path: root/doRedoGoMod.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-11 19:32:04 -0600
committerJeff Carr <[email protected]>2024-12-11 19:32:04 -0600
commitada387b966b901055e87e5b7d7d4902246c4e69e (patch)
tree57a3ad70fbf6b91d06830d8efabe0f572d808855 /doRedoGoMod.go
parent353290ecb1ba1f84e55cbcc23233055a26f7208f (diff)
'all' seems more sensible than 'loop'
Diffstat (limited to 'doRedoGoMod.go')
-rw-r--r--doRedoGoMod.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/doRedoGoMod.go b/doRedoGoMod.go
index 6e9f979..238ab2a 100644
--- a/doRedoGoMod.go
+++ b/doRedoGoMod.go
@@ -11,9 +11,9 @@ import (
func doRedoGoMod() {
me.forge.RillRedoGoMod()
os.Exit(0)
- repos := me.forge.Repos.SortByGoPath()
- for repos.Scan() {
- repo := repos.Next()
+ all := me.forge.Repos.SortByGoPath()
+ for all.Scan() {
+ repo := all.Next()
if !repo.IsValid() {
log.Printf("%10s %-50s", "old?", repo.GetGoPath())
continue