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
import (
"github.com/unistack-org/micro/v3/codec"
"go.unistack.org/micro/v3/codec"
"storj.io/drpc"
)

View File

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

View File

@ -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
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
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
)

View File

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

View File

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

View File

@ -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 {

View File

@ -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 {

View File

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