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
|
return
|
||||||
}
|
}
|
||||||
log.Info("tree.doTables() start. # of tables:", len(pb.Tables))
|
log.Info("tree.doTables() start. # of tables:", len(pb.Tables))
|
||||||
all := pb.All()
|
for t := range pb.IterAll() {
|
||||||
for all.Scan() {
|
|
||||||
t := all.Next()
|
|
||||||
// for i, o := range t.Order {
|
// for i, o := range t.Order {
|
||||||
// log.Info("got order:", t.Title, i, o)
|
// log.Info("got order:", t.Title, i, o)
|
||||||
// }
|
// }
|
||||||
|
|
Loading…
Reference in New Issue