Use gomodule version of redis library

This commit is contained in:
Peter Stuifzand 2018-08-15 19:04:15 +02:00
parent c678fc67da
commit 507aff683e
Signed by: peter
GPG Key ID: 374322D56E5209E8
7 changed files with 8 additions and 7 deletions

View File

@ -25,7 +25,7 @@ import (
"regexp" "regexp"
"time" "time"
"github.com/garyburd/redigo/redis" "github.com/gomodule/redigo/redis"
) )
// TokenResponse is the information that we get back from the token endpoint of the user... // TokenResponse is the information that we get back from the token endpoint of the user...

View File

@ -33,7 +33,7 @@ import (
"p83.nl/go/ekster/pkg/util" "p83.nl/go/ekster/pkg/util"
"github.com/alecthomas/template" "github.com/alecthomas/template"
"github.com/garyburd/redigo/redis" "github.com/gomodule/redigo/redis"
"willnorris.com/go/microformats" "willnorris.com/go/microformats"
) )

View File

@ -30,7 +30,7 @@ import (
"p83.nl/go/ekster/pkg/util" "p83.nl/go/ekster/pkg/util"
"p83.nl/go/ekster/pkg/websub" "p83.nl/go/ekster/pkg/websub"
"github.com/garyburd/redigo/redis" "github.com/gomodule/redigo/redis"
) )
// LeaseSeconds is the default number of seconds we want the subscription to last // LeaseSeconds is the default number of seconds we want the subscription to last

View File

@ -27,7 +27,8 @@ import (
"time" "time"
"cloud.google.com/go/profiler" "cloud.google.com/go/profiler"
"github.com/garyburd/redigo/redis" "github.com/gomodule/redigo/redis"
"p83.nl/go/ekster/pkg/microsub" "p83.nl/go/ekster/pkg/microsub"
) )

View File

@ -36,7 +36,7 @@ import (
"p83.nl/go/ekster/pkg/fetch" "p83.nl/go/ekster/pkg/fetch"
"p83.nl/go/ekster/pkg/microsub" "p83.nl/go/ekster/pkg/microsub"
"github.com/garyburd/redigo/redis" "github.com/gomodule/redigo/redis"
"willnorris.com/go/microformats" "willnorris.com/go/microformats"
) )

View File

@ -29,7 +29,7 @@ import (
"p83.nl/go/ekster/pkg/jf2" "p83.nl/go/ekster/pkg/jf2"
"p83.nl/go/ekster/pkg/microsub" "p83.nl/go/ekster/pkg/microsub"
"github.com/garyburd/redigo/redis" "github.com/gomodule/redigo/redis"
"willnorris.com/go/microformats" "willnorris.com/go/microformats"
) )

View File

@ -26,7 +26,7 @@ import (
"p83.nl/go/ekster/pkg/microsub" "p83.nl/go/ekster/pkg/microsub"
"github.com/garyburd/redigo/redis" "github.com/gomodule/redigo/redis"
) )
type microsubHandler struct { type microsubHandler struct {