🏗 remove cfg from storage

This commit is contained in:
Fenny
2020-10-31 07:58:01 +01:00
parent 92fd16d40a
commit 542c332956

View File

@@ -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,
}
}