Skip to content

Commit

Permalink
Merge pull request go-redsync#11 from multiplay/master
Browse files Browse the repository at this point in the history
Update redigo import path
  • Loading branch information
hjr265 authored Mar 26, 2018
2 parents a727dc1 + 0b4bdbb commit fb16cf0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Install Redsync using the go get command:

$ go get gopkg.in/redsync.v1

The only dependencies are the Go distribution and [Redigo](https://github.com/garyburd/redigo).
The only dependencies are the Go distribution and [Redigo](https://github.com/gomodule/redigo).

## Documentation

Expand Down
4 changes: 2 additions & 2 deletions mutex.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sync"
"time"

"github.com/garyburd/redigo/redis"
"github.com/gomodule/redigo/redis"
)

// A Mutex is a distributed mutual exclusion lock.
Expand Down Expand Up @@ -43,7 +43,7 @@ func (m *Mutex) Lock() error {
if i != 0 {
time.Sleep(m.delay)
}

start := time.Now()

n := 0
Expand Down
2 changes: 1 addition & 1 deletion mutex_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/garyburd/redigo/redis"
"github.com/gomodule/redigo/redis"
"github.com/stvp/tempredis"
)

Expand Down
2 changes: 1 addition & 1 deletion redis.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package redsync

import "github.com/garyburd/redigo/redis"
import "github.com/gomodule/redigo/redis"

// A Pool maintains a pool of Redis connections.
type Pool interface {
Expand Down

0 comments on commit fb16cf0

Please sign in to comment.