From 69be182d92a0837227605344c9c1de09fbed5a03 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Wed, 27 Oct 2021 18:13:33 +0300 Subject: [PATCH] update import paths Signed-off-by: Vasiliy Tolstov --- codec.go | 2 +- drpc.go | 2 +- error.go | 2 +- go.mod | 5 +---- message.go | 2 +- options.go | 2 +- request.go | 4 ++-- response.go | 4 ++-- stream.go | 2 +- 9 files changed, 11 insertions(+), 14 deletions(-) diff --git a/codec.go b/codec.go index 36f4876..d8d7825 100644 --- a/codec.go +++ b/codec.go @@ -1,7 +1,7 @@ package drpc import ( - "github.com/unistack-org/micro/v3/codec" + "go.unistack.org/micro/v3/codec" "storj.io/drpc" ) diff --git a/drpc.go b/drpc.go index e3113fd..29276e9 100644 --- a/drpc.go +++ b/drpc.go @@ -1,5 +1,5 @@ // Package drpc provides a drpc client -package drpc +package drpc // import "go.unistack.org/micro-client-drpc/v3" import ( "bytes" diff --git a/error.go b/error.go index 270c0cc..9c5117f 100644 --- a/error.go +++ b/error.go @@ -1,7 +1,7 @@ package drpc import ( - "github.com/unistack-org/micro/v3/errors" + "go.unistack.org/micro/v3/errors" ) func microError(err error) error { diff --git a/go.mod b/go.mod index 3b1fb23..d9296d7 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,7 @@ -module github.com/unistack-org/micro-client-drpc/v3 +module go.unistack.org/micro-client-drpc/v3 go 1.16 require ( - github.com/unistack-org/micro-proto v0.0.9 // indirect - github.com/unistack-org/micro/v3 v3.7.0 - golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect storj.io/drpc v0.0.24 ) diff --git a/message.go b/message.go index 6981d09..ef231fd 100644 --- a/message.go +++ b/message.go @@ -1,7 +1,7 @@ package drpc import ( - "github.com/unistack-org/micro/v3/client" + "go.unistack.org/micro/v3/client" ) type drpcEvent struct { diff --git a/options.go b/options.go index 18966e6..f26eb35 100644 --- a/options.go +++ b/options.go @@ -3,7 +3,7 @@ package drpc import ( "context" - "github.com/unistack-org/micro/v3/client" + "go.unistack.org/micro/v3/client" ) var ( diff --git a/request.go b/request.go index a99c84e..fcb814b 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 drpcRequest struct { diff --git a/response.go b/response.go index fddffba..20885a2 100644 --- a/response.go +++ b/response.go @@ -3,8 +3,8 @@ package drpc import ( "io" - "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" ) type response struct { diff --git a/stream.go b/stream.go index a73f84a..f5dd7ad 100644 --- a/stream.go +++ b/stream.go @@ -7,7 +7,7 @@ import ( "io" "sync" - "github.com/unistack-org/micro/v3/client" + "go.unistack.org/micro/v3/client" ) // Implements the streamer interface