update after protoc-gen-micro changes

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-02-27 13:51:39 +03:00
parent c5fb53c0f1
commit 267b29b658
28 changed files with 394 additions and 517 deletions

View File

@@ -19,6 +19,7 @@ import (
protocodec "github.com/unistack-org/micro-codec-proto/v3"
regRouter "github.com/unistack-org/micro-router-register/v3"
gsrv "github.com/unistack-org/micro-server-grpc/v3"
gpb "github.com/unistack-org/micro-tests/server/grpc/gproto"
pb "github.com/unistack-org/micro-tests/server/grpc/proto"
"github.com/unistack-org/micro/v3/api"
"github.com/unistack-org/micro/v3/api/handler"
@@ -87,7 +88,7 @@ func initial(t *testing.T) (server.Server, client.Client) {
)
h := &testServer{}
pb.RegisterTestHandler(s, h)
gpb.RegisterTestServer(s, h)
if err := s.Init(); err != nil {
t.Fatalf("failed to init: %v", err)