mirror of
https://github.com/gofiber/storage.git
synced 2025-10-04 16:22:52 +08:00
🎭 stay backwards compatible
This commit is contained in:
@@ -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"`
|
||||
|
Reference in New Issue
Block a user