From a1e7560d6f3e44d772b4c2d9eec872675c824822 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Wed, 27 Oct 2021 00:57:12 +0300 Subject: [PATCH] update import paths Signed-off-by: Vasiliy Tolstov --- codec.go | 2 +- error.go | 2 +- go.mod | 4 ++-- go.sum | 8 ++++---- grpc.go | 12 ++++++------ message.go | 2 +- options.go | 2 +- request.go | 4 ++-- response.go | 4 ++-- stream.go | 2 +- 10 files changed, 21 insertions(+), 21 deletions(-) diff --git a/codec.go b/codec.go index a5ed549..885b294 100644 --- a/codec.go +++ b/codec.go @@ -3,7 +3,7 @@ package grpc import ( "io" - "github.com/unistack-org/micro/v3/codec" + "go.unistack.org/micro/v3/codec" "google.golang.org/grpc" "google.golang.org/grpc/encoding" ) diff --git a/error.go b/error.go index c370b2e..634b8ff 100644 --- a/error.go +++ b/error.go @@ -1,7 +1,7 @@ package grpc import ( - "github.com/unistack-org/micro/v3/errors" + "go.unistack.org/micro/v3/errors" "google.golang.org/grpc/status" ) diff --git a/go.mod b/go.mod index da3a65f..ba2e4ba 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ -module github.com/unistack-org/micro-client-grpc/v3 +module go.unistack.org/micro-client-grpc/v3 go 1.16 require ( - github.com/unistack-org/micro/v3 v3.7.8 + go.unistack.org/micro/v3 v3.8.5 golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect google.golang.org/genproto v0.0.0-20210729151513-df9385d47c1b // indirect google.golang.org/grpc v1.40.0 diff --git a/go.sum b/go.sum index 5d4c9c5..682fe00 100644 --- a/go.sum +++ b/go.sum @@ -53,12 +53,12 @@ github.com/silas/dag v0.0.0-20210626123444-3804bac2d6d4/go.mod h1:7RTUFBdIRC9nZ7 github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/unistack-org/micro-proto v0.0.9 h1:KrWLS4FUX7UAWNAilQf70uad6ZPf/0EudeddCXllRVc= -github.com/unistack-org/micro-proto v0.0.9/go.mod h1:Cckwmzd89gvS7ThxzZp9kQR/EOdksFQcsTAtDDyKwrg= -github.com/unistack-org/micro/v3 v3.7.8 h1:ytrJhomev32w5QdZ53G6uINHh9XDV6t6MyDz4p9b84c= -github.com/unistack-org/micro/v3 v3.7.8/go.mod h1:Ke/8WJlNZi4ZYwL9HcsANAbQ66/HocTBEZM+od99/mM= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= +go.unistack.org/micro-proto/v3 v3.1.0 h1:q39FwjFiRZn+Ux/tt+d3bJTmDtsQQWa+3SLYVo1vLfA= +go.unistack.org/micro-proto/v3 v3.1.0/go.mod h1:DpRhYCBXlmSJ/AAXTmntvlh7kQkYU6eFvlmYAx4BQS8= +go.unistack.org/micro/v3 v3.8.5 h1:DIYWRsQF+NPhKZP45sCtNsUhaRw6u2+Ps7U+pKU7i3s= +go.unistack.org/micro/v3 v3.8.5/go.mod h1:KMMmOmbgo/D52/rCAbqeKbBsgEEbSKM69he54J3ZIuA= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= diff --git a/grpc.go b/grpc.go index 47631f3..c226285 100644 --- a/grpc.go +++ b/grpc.go @@ -1,5 +1,5 @@ // Package grpc provides a gRPC client -package grpc +package grpc // import "go.unistack.org/micro-client-grpc/v3" import ( "context" @@ -12,11 +12,11 @@ import ( "sync" "time" - "github.com/unistack-org/micro/v3/broker" - "github.com/unistack-org/micro/v3/client" - "github.com/unistack-org/micro/v3/codec" - "github.com/unistack-org/micro/v3/errors" - "github.com/unistack-org/micro/v3/metadata" + "go.unistack.org/micro/v3/broker" + "go.unistack.org/micro/v3/client" + "go.unistack.org/micro/v3/codec" + "go.unistack.org/micro/v3/errors" + "go.unistack.org/micro/v3/metadata" "google.golang.org/grpc" "google.golang.org/grpc/credentials" "google.golang.org/grpc/encoding" diff --git a/message.go b/message.go index 6dc7ee5..9f0e43b 100644 --- a/message.go +++ b/message.go @@ -1,7 +1,7 @@ package grpc import ( - "github.com/unistack-org/micro/v3/client" + "go.unistack.org/micro/v3/client" ) type grpcEvent struct { diff --git a/options.go b/options.go index 7be4292..d64c43d 100644 --- a/options.go +++ b/options.go @@ -4,7 +4,7 @@ package grpc import ( "context" - "github.com/unistack-org/micro/v3/client" + "go.unistack.org/micro/v3/client" "google.golang.org/grpc" "google.golang.org/grpc/encoding" ) diff --git a/request.go b/request.go index 681fb40..84d1bad 100644 --- a/request.go +++ b/request.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/unistack-org/micro/v3/client" - "github.com/unistack-org/micro/v3/codec" + "go.unistack.org/micro/v3/client" + "go.unistack.org/micro/v3/codec" ) type grpcRequest struct { diff --git a/response.go b/response.go index 09299e7..eb94c66 100644 --- a/response.go +++ b/response.go @@ -3,8 +3,8 @@ package grpc import ( "strings" - "github.com/unistack-org/micro/v3/codec" - "github.com/unistack-org/micro/v3/metadata" + "go.unistack.org/micro/v3/codec" + "go.unistack.org/micro/v3/metadata" "google.golang.org/grpc" ) diff --git a/stream.go b/stream.go index fc24c99..8057256 100644 --- a/stream.go +++ b/stream.go @@ -5,7 +5,7 @@ import ( "io" "sync" - "github.com/unistack-org/micro/v3/client" + "go.unistack.org/micro/v3/client" "google.golang.org/grpc" )