mirror of
https://github.com/gofiber/storage.git
synced 2025-10-06 00:57:38 +08:00
🏗 remove cfg from storage
This commit is contained in:
@@ -9,7 +9,6 @@ import (
|
||||
|
||||
// Storage interface that is implemented by storage providers
|
||||
type Storage struct {
|
||||
cfg Config
|
||||
db *redis.Client
|
||||
}
|
||||
|
||||
@@ -52,7 +51,6 @@ func New(config ...Config) Storage {
|
||||
}
|
||||
// Create new store
|
||||
return Storage{
|
||||
cfg: cfg,
|
||||
db: db,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user