summaryrefslogtreecommitdiff
path: root/humanTable.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-19 06:40:27 -0500
committerJeff Carr <[email protected]>2025-03-19 06:40:27 -0500
commit68127e4356d00604b454bfee002a7fda233fb773 (patch)
tree1f579f9eaaca0c0081a56cd33dae2d3e195966bd /humanTable.go
parentb4a15ef947c1aabb78bae57bbd9eabbec80a43c8 (diff)
now using the awesome golang 1.24 'iter'v0.0.101
Diffstat (limited to 'humanTable.go')
-rw-r--r--humanTable.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/humanTable.go b/humanTable.go
index b2311d5..cbc4853 100644
--- a/humanTable.go
+++ b/humanTable.go
@@ -58,9 +58,7 @@ func (f *Forge) PrintHumanTableDirty(allr *gitpb.Repos) {
// log.Info(standardStart5("gopath", "cur name", "master", "user", "repo type"))
log.Info(standardTable10("repopath", "cur br", "age", "master", "devel", "user", "curver", "lasttag", "next", "repo type"))
// all := allr.SortByFullPath()
- all := allr.All()
- for all.Scan() {
- repo := all.Next()
+ for repo := range allr.IterAll() {
f.printRepoToTable(repo)
if len(repo.DirtyList) != 0 {
for _, line := range repo.DirtyList {