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
|
package drpc
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/unistack-org/micro/v3/codec"
|
"go.unistack.org/micro/v3/codec"
|
||||||
"storj.io/drpc"
|
"storj.io/drpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
2
drpc.go
2
drpc.go
@ -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"
|
||||||
|
2
error.go
2
error.go
@ -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
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
|
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
|
||||||
)
|
)
|
||||||
|
@ -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 {
|
||||||
|
@ -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 (
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user