v3 refactor (#1868)

* Move to v3

Co-authored-by: Ben Toogood <bentoogood@gmail.com>
This commit is contained in:
Asim Aslam
2020-07-27 13:22:00 +01:00
committed by GitHub
parent 9dfeb98111
commit 563768b58a
424 changed files with 6383 additions and 22490 deletions

View File

@@ -8,7 +8,7 @@ import (
cetcd "github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/mvcc/mvccpb"
"github.com/micro/go-micro/v2/config/source"
"github.com/micro/go-micro/v3/config/source"
)
// Currently a single etcd reader

View File

@@ -4,7 +4,7 @@ import (
"context"
"time"
"github.com/micro/go-micro/v2/config/source"
"github.com/micro/go-micro/v3/config/source"
)
type addressKey struct{}

View File

@@ -5,7 +5,7 @@ import (
"github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/mvcc/mvccpb"
"github.com/micro/go-micro/v2/config/encoder"
"github.com/micro/go-micro/v3/config/encoder"
)
func makeEvMap(e encoder.Encoder, data map[string]interface{}, kv []*clientv3.Event, stripPrefix string) map[string]interface{} {

View File

@@ -7,7 +7,7 @@ import (
"time"
cetcd "github.com/coreos/etcd/clientv3"
"github.com/micro/go-micro/v2/config/source"
"github.com/micro/go-micro/v3/config/source"
)
type watcher struct {