mirror of
https://github.com/gofiber/storage.git
synced 2025-10-06 17:17:18 +08:00
More fixes
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
||||
"time"
|
||||
|
||||
mc "github.com/bradfitz/gomemcache/memcache"
|
||||
"github.com/gofiber/utils/v2"
|
||||
)
|
||||
|
||||
// Storage interface that is implemented by storage providers
|
||||
@@ -21,7 +20,7 @@ func New(config ...Config) *Storage {
|
||||
cfg := configDefault(config...)
|
||||
|
||||
// Split comma separated servers into slice
|
||||
serverList := strings.Split(utils.Trim(cfg.Servers, ' '), ",")
|
||||
serverList := strings.Split(strings.Trim(cfg.Servers, ' '), ",")
|
||||
|
||||
// Create db
|
||||
db := mc.New(serverList...)
|
||||
|
Reference in New Issue
Block a user