diff --git a/go.mod b/go.mod index 5c7e2e3..eee6ccd 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/letsfire/redigo/v2 +module github.com/fat39/redigo/v2 go 1.12 diff --git a/mode/alone/alone.go b/mode/alone/alone.go index 2fc4ae1..dc16c67 100644 --- a/mode/alone/alone.go +++ b/mode/alone/alone.go @@ -3,7 +3,7 @@ package alone import ( "github.com/gomodule/redigo/redis" - "github.com/letsfire/redigo/v2" + "github.com/fat39/redigo/v2" ) type aloneMode struct{ pool redis.Pool } diff --git a/mode/alone/options.go b/mode/alone/options.go index f5b3ed3..3bcc372 100644 --- a/mode/alone/options.go +++ b/mode/alone/options.go @@ -3,7 +3,7 @@ package alone import ( "github.com/gomodule/redigo/redis" - "github.com/letsfire/redigo/v2" + "github.com/fat39/redigo/v2" ) type options struct { diff --git a/mode/cluster/cluster.go b/mode/cluster/cluster.go index b079fa6..ab2d8c0 100644 --- a/mode/cluster/cluster.go +++ b/mode/cluster/cluster.go @@ -4,7 +4,7 @@ import ( "github.com/gomodule/redigo/redis" "github.com/mna/redisc" - "github.com/letsfire/redigo/v2" + "github.com/fat39/redigo/v2" ) type clusterMode struct { @@ -53,6 +53,7 @@ func New(optFuncs ...OptFunc) redigo.ModeInterface { return pool, nil }, } + rc.Refresh() return &clusterMode{rc: rc} } diff --git a/mode/cluster/options.go b/mode/cluster/options.go index 0efe122..9ad6253 100644 --- a/mode/cluster/options.go +++ b/mode/cluster/options.go @@ -5,7 +5,7 @@ import ( "github.com/gomodule/redigo/redis" - "github.com/letsfire/redigo/v2" + "github.com/fat39/redigo/v2" ) type options struct { diff --git a/mode/sentinel/options.go b/mode/sentinel/options.go index 515fff3..b1cea23 100644 --- a/mode/sentinel/options.go +++ b/mode/sentinel/options.go @@ -3,7 +3,7 @@ package sentinel import ( "github.com/gomodule/redigo/redis" - "github.com/letsfire/redigo/v2" + "github.com/fat39/redigo/v2" ) type options struct { diff --git a/mode/sentinel/sentinel.go b/mode/sentinel/sentinel.go index e0ce0f9..cdd4e0d 100644 --- a/mode/sentinel/sentinel.go +++ b/mode/sentinel/sentinel.go @@ -7,7 +7,7 @@ import ( "github.com/FZambia/sentinel" "github.com/gomodule/redigo/redis" - "github.com/letsfire/redigo/v2" + "github.com/fat39/redigo/v2" ) type sentinelMode struct {