update import paths

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2021-10-27 18:13:33 +03:00
parent 8a2b0636e1
commit 69be182d92
9 changed files with 11 additions and 14 deletions

View File

@ -1,7 +1,7 @@
package drpc package drpc
import ( import (
"github.com/unistack-org/micro/v3/codec" "go.unistack.org/micro/v3/codec"
"storj.io/drpc" "storj.io/drpc"
) )

View File

@ -1,5 +1,5 @@
// Package drpc provides a drpc client // Package drpc provides a drpc client
package drpc package drpc // import "go.unistack.org/micro-client-drpc/v3"
import ( import (
"bytes" "bytes"

View File

@ -1,7 +1,7 @@
package drpc package drpc
import ( import (
"github.com/unistack-org/micro/v3/errors" "go.unistack.org/micro/v3/errors"
) )
func microError(err error) error { func microError(err error) error {

5
go.mod
View File

@ -1,10 +1,7 @@
module github.com/unistack-org/micro-client-drpc/v3 module go.unistack.org/micro-client-drpc/v3
go 1.16 go 1.16
require ( 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 storj.io/drpc v0.0.24
) )

View File

@ -1,7 +1,7 @@
package drpc package drpc
import ( import (
"github.com/unistack-org/micro/v3/client" "go.unistack.org/micro/v3/client"
) )
type drpcEvent struct { type drpcEvent struct {

View File

@ -3,7 +3,7 @@ package drpc
import ( import (
"context" "context"
"github.com/unistack-org/micro/v3/client" "go.unistack.org/micro/v3/client"
) )
var ( var (

View File

@ -4,8 +4,8 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/unistack-org/micro/v3/client" "go.unistack.org/micro/v3/client"
"github.com/unistack-org/micro/v3/codec" "go.unistack.org/micro/v3/codec"
) )
type drpcRequest struct { type drpcRequest struct {

View File

@ -3,8 +3,8 @@ package drpc
import ( import (
"io" "io"
"github.com/unistack-org/micro/v3/codec" "go.unistack.org/micro/v3/codec"
"github.com/unistack-org/micro/v3/metadata" "go.unistack.org/micro/v3/metadata"
) )
type response struct { type response struct {

View File

@ -7,7 +7,7 @@ import (
"io" "io"
"sync" "sync"
"github.com/unistack-org/micro/v3/client" "go.unistack.org/micro/v3/client"
) )
// Implements the streamer interface // Implements the streamer interface