diff options
| author | Jeff Carr <[email protected]> | 2024-12-11 19:31:37 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-11 19:31:37 -0600 |
| commit | dae2653975b6db822633430a97adbb21b52a99ff (patch) | |
| tree | 40e9fe53f9149ef090fb7bd40d2c77709b7904c8 /human.go | |
| parent | 0235d4d0961d71acd3b678dad009d68713bb6621 (diff) | |
use 'all' instead of 'loop'
Diffstat (limited to 'human.go')
| -rw-r--r-- | human.go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -43,17 +43,17 @@ func (f *Forge) ConfigPrintTable() { return } log.Info(standardHeader()) - loop := f.Config.SortByGoPath() - for loop.Scan() { - r := loop.Next() + all := f.Config.SortByGoPath() + for all.Scan() { + r := all.Next() log.Info(f.standardHeader(r)) } } func (f *Forge) newestAge(repo *gitpb.Repo) time.Duration { - loop := repo.Tags.SortByAge() - for loop.Scan() { - r := loop.Next() + all := repo.Tags.SortByAge() + for all.Scan() { + r := all.Next() return time.Since(r.GetAuthordate().AsTime()) } return time.Since(time.Now()) |
