Skip to content

Commit

Permalink
Merge pull request #2 from acarist/master
Browse files Browse the repository at this point in the history
etcd moving to etcd.io from github
  • Loading branch information
soyking authored Sep 26, 2020
2 parents e17ca48 + ed4446b commit b2ed2cd
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ When listing/deleting a directory, e3ch will get key-value with the prefix. For
package main
import (
"github.com/coreos/etcd/clientv3"
"go.etcd.io/etcd/clientv3"
"github.com/soyking/e3ch"
)
Expand Down
4 changes: 2 additions & 2 deletions auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package client
import (
"strings"

"github.com/coreos/etcd/auth/authpb"
"github.com/coreos/etcd/clientv3"
"go.etcd.io/etcd/auth/authpb"
"go.etcd.io/etcd/clientv3"
)

func (clt *EtcdHRCHYClient) permPath(key string) (string, error) {
Expand Down
2 changes: 1 addition & 1 deletion auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package client

import (
"encoding/json"
"github.com/coreos/etcd/clientv3"
"go.etcd.io/etcd/clientv3"
. "gopkg.in/check.v1"
)

Expand Down
4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package client

import (
"errors"
"github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/mvcc/mvccpb"
"go.etcd.io/etcd/clientv3"
mvccpb "go.etcd.io/etcd/mvcc/mvccpb"
"golang.org/x/net/context"
"strings"
)
Expand Down
2 changes: 1 addition & 1 deletion client_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package client

import (
"github.com/coreos/etcd/clientv3"
"go.etcd.io/etcd/clientv3"
. "gopkg.in/check.v1"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion create_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package client

import (
"github.com/coreos/etcd/clientv3"
"go.etcd.io/etcd/clientv3"
. "gopkg.in/check.v1"
)

Expand Down
2 changes: 1 addition & 1 deletion delete.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package client

import (
"github.com/coreos/etcd/clientv3"
"go.etcd.io/etcd/clientv3"
)

// list a directory
Expand Down
2 changes: 1 addition & 1 deletion delete_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package client

import (
"github.com/coreos/etcd/clientv3"
"go.etcd.io/etcd/clientv3"
. "gopkg.in/check.v1"
"strconv"
)
Expand Down
2 changes: 1 addition & 1 deletion get_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package client

import (
"github.com/coreos/etcd/clientv3"
"go.etcd.io/etcd/clientv3"
. "gopkg.in/check.v1"
)

Expand Down
4 changes: 2 additions & 2 deletions list.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package client

import (
"github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/mvcc/mvccpb"
"go.etcd.io/etcd/clientv3"
mvccpb "go.etcd.io/etcd/mvcc/mvccpb"
"strings"
)

Expand Down
2 changes: 1 addition & 1 deletion list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package client

import (
"encoding/json"
"github.com/coreos/etcd/clientv3"
"go.etcd.io/etcd/clientv3"
. "gopkg.in/check.v1"
"strconv"
)
Expand Down
2 changes: 1 addition & 1 deletion put.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package client

import (
"github.com/coreos/etcd/clientv3"
"go.etcd.io/etcd/clientv3"
)

// set kv or directory
Expand Down
2 changes: 1 addition & 1 deletion put_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package client

import (
"github.com/coreos/etcd/clientv3"
"go.etcd.io/etcd/clientv3"
. "gopkg.in/check.v1"
)

Expand Down

0 comments on commit b2ed2cd

Please sign in to comment.