Skip to content

Commit

Permalink
Replace the broken import path "go.etcd.io" with github.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz committed Sep 29, 2019
1 parent 165efdf commit 1515d6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ go:

before_install:
- go get github.com/mattn/goveralls
- go get go.etcd.io/etcd
- cd $HOME/gopath/src/go.etcd.io/etcd
- go get github.com/etcd-io/etcd
- cd $HOME/gopath/src/github.com/etcd-io/etcd
- nohup go run main.go

script:
Expand Down
4 changes: 2 additions & 2 deletions watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"time"

"github.com/casbin/casbin/persist"
"go.etcd.io/etcd/client"
"go.etcd.io/etcd/clientv3"
"github.com/etcd-io/etcd/client"
"github.com/etcd-io/etcd/clientv3"
)

type Watcher struct {
Expand Down

0 comments on commit 1515d6a

Please sign in to comment.