regen files with never protoc (#6)

* regen files with never protoc
* rewrite import path

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-08-19 17:47:17 +03:00
committed by GitHub
parent 7a407d5792
commit 06136312bb
357 changed files with 8755 additions and 3310 deletions

View File

@@ -7,9 +7,9 @@ import (
"sync"
"time"
"github.com/micro/go-micro/v3/logger"
"github.com/micro/go-micro/v3/registry"
util "github.com/micro/go-micro/v3/util/registry"
"github.com/unistack-org/micro/v3/logger"
"github.com/unistack-org/micro/v3/registry"
util "github.com/unistack-org/micro/v3/util/registry"
)
// Cache is the registry cache interface

View File

@@ -16,8 +16,8 @@ import (
"github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes"
"github.com/coreos/etcd/mvcc/mvccpb"
"github.com/micro/go-micro/v3/logger"
"github.com/micro/go-micro/v3/registry"
"github.com/unistack-org/micro/v3/logger"
"github.com/unistack-org/micro/v3/registry"
hash "github.com/mitchellh/hashstructure"
"go.uber.org/zap"
)

View File

@@ -3,7 +3,7 @@ package etcd
import (
"context"
"github.com/micro/go-micro/v3/registry"
"github.com/unistack-org/micro/v3/registry"
"go.uber.org/zap"
)

View File

@@ -7,7 +7,7 @@ import (
"time"
"github.com/coreos/etcd/clientv3"
"github.com/micro/go-micro/v3/registry"
"github.com/unistack-org/micro/v3/registry"
)
type etcdWatcher struct {

View File

@@ -15,9 +15,9 @@ import (
"time"
"github.com/google/uuid"
"github.com/micro/go-micro/v3/logger"
"github.com/micro/go-micro/v3/registry"
"github.com/micro/go-micro/v3/util/mdns"
"github.com/unistack-org/micro/v3/logger"
"github.com/unistack-org/micro/v3/registry"
"github.com/unistack-org/micro/v3/util/mdns"
)
const (

View File

@@ -5,7 +5,7 @@ import (
"testing"
"time"
"github.com/micro/go-micro/v3/registry"
"github.com/unistack-org/micro/v3/registry"
)
func TestMDNS(t *testing.T) {

View File

@@ -4,7 +4,7 @@ package mdns
import (
"context"
"github.com/micro/go-micro/v3/registry"
"github.com/unistack-org/micro/v3/registry"
)
// Domain sets the mdnsDomain

View File

@@ -7,8 +7,8 @@ import (
"time"
"github.com/google/uuid"
"github.com/micro/go-micro/v3/logger"
"github.com/micro/go-micro/v3/registry"
"github.com/unistack-org/micro/v3/logger"
"github.com/unistack-org/micro/v3/registry"
)
var (

View File

@@ -6,7 +6,7 @@ import (
"testing"
"time"
"github.com/micro/go-micro/v3/registry"
"github.com/unistack-org/micro/v3/registry"
)
var (

View File

@@ -3,7 +3,7 @@ package memory
import (
"context"
"github.com/micro/go-micro/v3/registry"
"github.com/unistack-org/micro/v3/registry"
)
type servicesKey struct{}

View File

@@ -3,7 +3,7 @@ package memory
import (
"time"
"github.com/micro/go-micro/v3/registry"
"github.com/unistack-org/micro/v3/registry"
)
func serviceToRecord(s *registry.Service, ttl time.Duration) *record {

View File

@@ -3,7 +3,7 @@ package memory
import (
"errors"
"github.com/micro/go-micro/v3/registry"
"github.com/unistack-org/micro/v3/registry"
)
type Watcher struct {

View File

@@ -3,7 +3,7 @@ package memory
import (
"testing"
"github.com/micro/go-micro/v3/registry"
"github.com/unistack-org/micro/v3/registry"
)
func TestWatcher(t *testing.T) {

View File

@@ -4,7 +4,7 @@ package noop
import (
"errors"
"github.com/micro/go-micro/v3/registry"
"github.com/unistack-org/micro/v3/registry"
)
type noopRegistry struct{}