From ed4446ba31e70f173d3a203ba3a1a0d012571fbe Mon Sep 17 00:00:00 2001 From: ytu-ramazan-acar Date: Mon, 30 Dec 2019 16:26:36 +0300 Subject: [PATCH] etcd moving to etcd.io from github etcd moving to etcd.io from github etcd moving to etcd.io from github --- README.md | 2 +- auth.go | 4 ++-- auth_test.go | 2 +- client.go | 4 ++-- client_test.go | 2 +- create_test.go | 2 +- delete.go | 2 +- delete_test.go | 2 +- get_test.go | 2 +- list.go | 4 ++-- list_test.go | 2 +- put.go | 2 +- put_test.go | 2 +- 13 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index fc2a135..d84bd2f 100644 --- a/README.md +++ b/README.md @@ -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" ) diff --git a/auth.go b/auth.go index 40daa50..120fe9e 100644 --- a/auth.go +++ b/auth.go @@ -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) { diff --git a/auth_test.go b/auth_test.go index 2f08732..11b5331 100644 --- a/auth_test.go +++ b/auth_test.go @@ -2,7 +2,7 @@ package client import ( "encoding/json" - "github.com/coreos/etcd/clientv3" + "go.etcd.io/etcd/clientv3" . "gopkg.in/check.v1" ) diff --git a/client.go b/client.go index 08592c3..4930290 100644 --- a/client.go +++ b/client.go @@ -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" ) diff --git a/client_test.go b/client_test.go index 5322f07..d5b63dc 100644 --- a/client_test.go +++ b/client_test.go @@ -1,7 +1,7 @@ package client import ( - "github.com/coreos/etcd/clientv3" + "go.etcd.io/etcd/clientv3" . "gopkg.in/check.v1" "testing" ) diff --git a/create_test.go b/create_test.go index a04fa70..e238f50 100644 --- a/create_test.go +++ b/create_test.go @@ -1,7 +1,7 @@ package client import ( - "github.com/coreos/etcd/clientv3" + "go.etcd.io/etcd/clientv3" . "gopkg.in/check.v1" ) diff --git a/delete.go b/delete.go index 59d83c7..c4bbd60 100644 --- a/delete.go +++ b/delete.go @@ -1,7 +1,7 @@ package client import ( - "github.com/coreos/etcd/clientv3" + "go.etcd.io/etcd/clientv3" ) // list a directory diff --git a/delete_test.go b/delete_test.go index 16638d7..b680132 100644 --- a/delete_test.go +++ b/delete_test.go @@ -1,7 +1,7 @@ package client import ( - "github.com/coreos/etcd/clientv3" + "go.etcd.io/etcd/clientv3" . "gopkg.in/check.v1" "strconv" ) diff --git a/get_test.go b/get_test.go index b105716..e5df470 100644 --- a/get_test.go +++ b/get_test.go @@ -1,7 +1,7 @@ package client import ( - "github.com/coreos/etcd/clientv3" + "go.etcd.io/etcd/clientv3" . "gopkg.in/check.v1" ) diff --git a/list.go b/list.go index d492a41..7e88b77 100644 --- a/list.go +++ b/list.go @@ -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" ) diff --git a/list_test.go b/list_test.go index 984f0b0..2aef614 100644 --- a/list_test.go +++ b/list_test.go @@ -2,7 +2,7 @@ package client import ( "encoding/json" - "github.com/coreos/etcd/clientv3" + "go.etcd.io/etcd/clientv3" . "gopkg.in/check.v1" "strconv" ) diff --git a/put.go b/put.go index aa1ef62..e1c5373 100644 --- a/put.go +++ b/put.go @@ -1,7 +1,7 @@ package client import ( - "github.com/coreos/etcd/clientv3" + "go.etcd.io/etcd/clientv3" ) // set kv or directory diff --git a/put_test.go b/put_test.go index 0b3b6a9..2169b32 100644 --- a/put_test.go +++ b/put_test.go @@ -1,7 +1,7 @@ package client import ( - "github.com/coreos/etcd/clientv3" + "go.etcd.io/etcd/clientv3" . "gopkg.in/check.v1" )