🎭 stay backwards compatible

This commit is contained in:
Fenny
2020-11-18 09:00:59 +01:00
parent ddef41c2ee
commit fd56bd28da
9 changed files with 9 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ type Storage struct {
// ErrNotFound means that a get call did not find the requested key.
var ErrNotFound = errors.New("key not found")
var ErrKeyNotExist = ErrNotFound
type item struct {
ObjectID primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"`