fix import paths for v2 release

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-01-30 14:39:00 +03:00
parent 2b1e0a6fd6
commit f23638c036
347 changed files with 864 additions and 820 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/config/source"
"github.com/micro/go-micro/v2/config/source"
)
// Currently a single etcd reader

View File

@@ -4,7 +4,7 @@ import (
"context"
"time"
"github.com/micro/go-micro/config/source"
"github.com/micro/go-micro/v2/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/config/encoder"
"github.com/micro/go-micro/v2/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/config/source"
"github.com/micro/go-micro/v2/config/source"
)
type watcher struct {