make map driver type for faster tests

This commit is contained in:
breel
2020-08-01 20:33:44 -06:00
parent b28bc74f8b
commit 37fe9415e7
13 changed files with 494 additions and 332 deletions

View File

@@ -31,7 +31,7 @@ func NewBoltDB(path string) *BoltDB {
}
}
func (bdb *BoltDB) count(ctx context.Context, namespace string, filter interface{}) (int, error) {
func (bdb *BoltDB) Count(ctx context.Context, namespace string, filter interface{}) (int, error) {
ch, err := bdb.Find(ctx, namespace, filter)
n := 0
for _ = range ch {