now using the awesome golang 1.24 'iter'
This commit is contained in:
parent
0288d05f2d
commit
5ef3364bf1
4
table.go
4
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)
|
||||
// }
|
||||
|
|
Loading…
Reference in New Issue