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

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
pull/10865/head
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
1 changed files with 2 additions and 0 deletions

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