summaryrefslogtreecommitdiff
path: root/table.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-19 06:40:40 -0500
committerJeff Carr <[email protected]>2025-03-19 06:40:40 -0500
commit5ef3364bf1d37c94be2554389caabf58949e0304 (patch)
tree6dece2c5433dac4708ace22f47b964e198eb7b70 /table.go
parent0288d05f2d23ed781eb250ac34320de1d1765951 (diff)
now using the awesome golang 1.24 'iter'v0.22.26
Diffstat (limited to 'table.go')
-rw-r--r--table.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/table.go b/table.go
index e6b14e3..c374d2f 100644
--- a/table.go
+++ b/table.go
@@ -28,9 +28,7 @@ func (me *TreeInfo) doTable(a widget.Action) {
return
}
log.Info("tree.doTables() start. # of tables:", len(pb.Tables))
- all := pb.All()
- for all.Scan() {
- t := all.Next()
+ for t := range pb.IterAll() {
// for i, o := range t.Order {
// log.Info("got order:", t.Title, i, o)
// }