mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 17:44:05 +08:00
opt some
This commit is contained in:
parent
15c6d3f064
commit
41021ff55b
4
meta.go
4
meta.go
@ -213,7 +213,9 @@ func (m *Message) Length() (max int) {
|
|||||||
func (m *Message) Tables(cbs ...func(value Maps)) *Message {
|
func (m *Message) Tables(cbs ...func(value Maps)) *Message {
|
||||||
return m.Table(func(index int, value Maps, head []string) {
|
return m.Table(func(index int, value Maps, head []string) {
|
||||||
for _, cb := range cbs {
|
for _, cb := range cbs {
|
||||||
cb(value)
|
if cb != nil {
|
||||||
|
cb(value)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -56,6 +56,7 @@ func init() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
msg := m.Cmd("_sum", value[nfs.PATH], mdb.TOTAL, "10000")
|
msg := m.Cmd("_sum", value[nfs.PATH], mdb.TOTAL, "10000")
|
||||||
|
// msg := m.Cmd("_sum", value[nfs.PATH], mdb.TOTAL, "2022-01-01")
|
||||||
|
|
||||||
defer lock.Lock()()
|
defer lock.Lock()()
|
||||||
msg.Tables(func(value ice.Maps) {
|
msg.Tables(func(value ice.Maps) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user