More fixes

This commit is contained in:
Juan Calderon-Perez
2023-08-19 23:05:05 -04:00
parent 9291b82212
commit a638b6d4f2
4 changed files with 3 additions and 10 deletions

View File

@@ -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...)