add sql wrapper tests, regen

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2023-01-07 19:16:48 +03:00
parent de763a4f92
commit 7c71e65d02
50 changed files with 1635 additions and 273 deletions

View File

@@ -9,6 +9,7 @@ import (
proto "go.unistack.org/micro-tests/client/grpc/proto"
api "go.unistack.org/micro/v3/api"
client "go.unistack.org/micro/v3/client"
metadata "go.unistack.org/micro/v3/metadata"
server "go.unistack.org/micro/v3/server"
)
@@ -62,6 +63,10 @@ func (s *testClientStream) RecvMsg(msg interface{}) error {
return s.stream.Recv(msg)
}
func (s *testClientStream) Header() metadata.Metadata {
return s.stream.Response().Header()
}
func (s *testClientStream) Send(msg *proto.Request) error {
return s.stream.Send(msg)
}