added some tests for the json storage.
This commit is contained in:
+2
-2
@@ -35,8 +35,8 @@ type SimpleStore struct {
|
||||
path string
|
||||
}
|
||||
|
||||
// NewMemStore returns a ready-to-use SimpleStore storing json at path.
|
||||
func NewMemStore(path string) *SimpleStore {
|
||||
// NewSimpleStore returns a ready-to-use SimpleStore storing json at path.
|
||||
func NewSimpleStore(path string) *SimpleStore {
|
||||
return &SimpleStore{
|
||||
path: path,
|
||||
p: make(map[string]Package),
|
||||
|
||||
Reference in New Issue
Block a user