api.go
@@ -52,8 +52,8 @@ } // 遍历数据, 输出原始数据 func (ls *LogStore) ForEach(f func(v *LogCon) error) { ls.store.ForEach(f) func (ls *LogStore) ForEach(f func(v *LogCon) error) error { return ls.store.ForEach(f) } func (ls *LogStore) Size() int {