From a42989c6de079b2cf0628fe9fe19ab5dd7c29465 Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Thu, 20 Sep 2012 10:52:50 +0300 Subject: [PATCH] using bettr import for redis --- timespans/storage_redis.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/timespans/storage_redis.go b/timespans/storage_redis.go index 072de2224..f785a8458 100644 --- a/timespans/storage_redis.go +++ b/timespans/storage_redis.go @@ -20,13 +20,13 @@ package timespans import ( "fmt" - "github.com/simonz05/godis" + "github.com/simonz05/godis/redis" "time" ) type RedisStorage struct { dbNb int - db *godis.Client + db *redis.Client ms Marshaler } @@ -34,7 +34,7 @@ func NewRedisStorage(address string, db int, pass string) (DataStorage, error) { if address != "" { address = "tcp:" + address } - ndb := godis.New(address, db, pass) + ndb := redis.New(address, db, pass) ms := new(MyMarshaler) return &RedisStorage{db: ndb, dbNb: db, ms: ms}, nil }