From 43c2711325df4a89f86d1bd068dabb9a334dd4fb Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Thu, 30 Jan 2020 14:39:00 +0300 Subject: [PATCH] fix import paths for v2 release Signed-off-by: Vasiliy Tolstov --- rpc.go | 22 +++++++++++----------- rpc_test.go | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/rpc.go b/rpc.go index 0c01e10..76e60dc 100644 --- a/rpc.go +++ b/rpc.go @@ -10,17 +10,17 @@ import ( "strings" "github.com/joncalhoun/qson" - "github.com/micro/go-micro/api" - "github.com/micro/go-micro/api/handler" - proto "github.com/micro/go-micro/api/internal/proto" - "github.com/micro/go-micro/client" - "github.com/micro/go-micro/client/selector" - "github.com/micro/go-micro/codec" - "github.com/micro/go-micro/codec/jsonrpc" - "github.com/micro/go-micro/codec/protorpc" - "github.com/micro/go-micro/errors" - "github.com/micro/go-micro/registry" - "github.com/micro/go-micro/util/ctx" + "github.com/micro/go-micro/v2/api" + "github.com/micro/go-micro/v2/api/handler" + proto "github.com/micro/go-micro/v2/api/internal/proto" + "github.com/micro/go-micro/v2/client" + "github.com/micro/go-micro/v2/client/selector" + "github.com/micro/go-micro/v2/codec" + "github.com/micro/go-micro/v2/codec/jsonrpc" + "github.com/micro/go-micro/v2/codec/protorpc" + "github.com/micro/go-micro/v2/errors" + "github.com/micro/go-micro/v2/registry" + "github.com/micro/go-micro/v2/util/ctx" ) const ( diff --git a/rpc_test.go b/rpc_test.go index f50cded..ba943a4 100644 --- a/rpc_test.go +++ b/rpc_test.go @@ -7,7 +7,7 @@ import ( "testing" "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) {