From 68127e4356d00604b454bfee002a7fda233fb773 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 19 Mar 2025 06:40:27 -0500 Subject: now using the awesome golang 1.24 'iter' --- humanTable.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'humanTable.go') 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 { -- cgit v1.2.3