From 78b58d3fc68f7ede33f0bc681b7914bc2b29cc82 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 18 十月 2022 11:57:11 +0800 Subject: [PATCH] 添加bolt源码 --- api.go | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api.go b/api.go index 7af4fc6..6da586f 100644 --- a/api.go +++ b/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 { -- Gitblit v1.8.0