[skip ci]Fix golint error in memory_kv (#10861)

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
zhenshan.cao 2021-10-28 23:42:39 +08:00 committed by GitHub
parent 93f205b49e
commit 25551ffa2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,8 @@ import (
"github.com/google/btree"
)
// MemoryKV implements DataKV interface and relies on underling btree.BTree.
// As its name implies, all data is stored in memory.
type MemoryKV struct {
sync.RWMutex
tree *btree.BTree