mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-06 19:07:50 +00:00
Unexport boltdb.NewAttrCache
This commit is contained in:
parent
fcf6517c7e
commit
9db2109278
1 changed files with 3 additions and 3 deletions
|
|
@ -71,8 +71,8 @@ type attrStore struct {
|
|||
attrCache *attrCache
|
||||
}
|
||||
|
||||
// NewAttrCache returns a new instance of AttrCache.
|
||||
func NewAttrCache() *attrCache {
|
||||
// newAttrCache returns a new instance of AttrCache.
|
||||
func newAttrCache() *attrCache {
|
||||
return &attrCache{
|
||||
attrs: make(map[uint64]map[string]interface{}),
|
||||
}
|
||||
|
|
@ -82,7 +82,7 @@ func NewAttrCache() *attrCache {
|
|||
func NewAttrStore(path string) pilosa.AttrStore {
|
||||
return &attrStore{
|
||||
path: path,
|
||||
attrCache: NewAttrCache(),
|
||||
attrCache: newAttrCache(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue