update import paths
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
8a2b0636e1
commit
69be182d92
2
codec.go
2
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"
|
||||
)
|
||||
|
||||
|
2
drpc.go
2
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"
|
||||
|
2
error.go
2
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 {
|
||||
|
5
go.mod
5
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
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package drpc
|
||||
|
||||
import (
|
||||
"github.com/unistack-org/micro/v3/client"
|
||||
"go.unistack.org/micro/v3/client"
|
||||
)
|
||||
|
||||
type drpcEvent struct {
|
||||
|
@ -3,7 +3,7 @@ package drpc
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/unistack-org/micro/v3/client"
|
||||
"go.unistack.org/micro/v3/client"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user