fix import paths for v2 release
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
52cd951be7
commit
43c2711325
22
rpc.go
22
rpc.go
@ -10,17 +10,17 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/joncalhoun/qson"
|
"github.com/joncalhoun/qson"
|
||||||
"github.com/micro/go-micro/api"
|
"github.com/micro/go-micro/v2/api"
|
||||||
"github.com/micro/go-micro/api/handler"
|
"github.com/micro/go-micro/v2/api/handler"
|
||||||
proto "github.com/micro/go-micro/api/internal/proto"
|
proto "github.com/micro/go-micro/v2/api/internal/proto"
|
||||||
"github.com/micro/go-micro/client"
|
"github.com/micro/go-micro/v2/client"
|
||||||
"github.com/micro/go-micro/client/selector"
|
"github.com/micro/go-micro/v2/client/selector"
|
||||||
"github.com/micro/go-micro/codec"
|
"github.com/micro/go-micro/v2/codec"
|
||||||
"github.com/micro/go-micro/codec/jsonrpc"
|
"github.com/micro/go-micro/v2/codec/jsonrpc"
|
||||||
"github.com/micro/go-micro/codec/protorpc"
|
"github.com/micro/go-micro/v2/codec/protorpc"
|
||||||
"github.com/micro/go-micro/errors"
|
"github.com/micro/go-micro/v2/errors"
|
||||||
"github.com/micro/go-micro/registry"
|
"github.com/micro/go-micro/v2/registry"
|
||||||
"github.com/micro/go-micro/util/ctx"
|
"github.com/micro/go-micro/v2/util/ctx"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
go_api "github.com/micro/go-micro/api/proto"
|
go_api "github.com/micro/go-micro/v2/api/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestRequestPayloadFromRequest(t *testing.T) {
|
func TestRequestPayloadFromRequest(t *testing.T) {
|
||||||
|
Loading…
Reference in New Issue
Block a user