diff options
| author | Jeff Carr <[email protected]> | 2024-12-11 19:32:04 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-11 19:32:04 -0600 |
| commit | ada387b966b901055e87e5b7d7d4902246c4e69e (patch) | |
| tree | 57a3ad70fbf6b91d06830d8efabe0f572d808855 /doRedoGoMod.go | |
| parent | 353290ecb1ba1f84e55cbcc23233055a26f7208f (diff) | |
'all' seems more sensible than 'loop'
Diffstat (limited to 'doRedoGoMod.go')
| -rw-r--r-- | doRedoGoMod.go | 6 |
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 |
