mirror of https://github.com/milvus-io/milvus.git
[skip ci]Fix golint error in memory_kv (#10861)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>pull/10865/head
parent
93f205b49e
commit
25551ffa2f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue