mirror of
https://github.com/gofiber/storage.git
synced 2025-12-24 13:29:30 +08:00
🩹 fix tests
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
|
||||
// Storage interface that is implemented by storage providers
|
||||
type Storage struct {
|
||||
DB *mongo.Database
|
||||
db *mongo.Database
|
||||
col *mongo.Collection
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ func New(config ...Config) *Storage {
|
||||
}
|
||||
|
||||
return &Storage{
|
||||
DB: db,
|
||||
db: db,
|
||||
col: col,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user