always generate call with CamelCased name
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
6e43ae7190
commit
62502ad720
@ -335,8 +335,8 @@ func (g *micro) generateClientSignature(servName string, method *pb.MethodDescri
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (g *micro) generateClientMethod(reqServ, servName, serviceDescVar string, method *pb.MethodDescriptorProto, descExpr string) {
|
func (g *micro) generateClientMethod(reqServ, servName, serviceDescVar string, method *pb.MethodDescriptorProto, descExpr string) {
|
||||||
reqMethod := fmt.Sprintf("%s.%s", servName, method.GetName())
|
|
||||||
methName := generator.CamelCase(method.GetName())
|
methName := generator.CamelCase(method.GetName())
|
||||||
|
reqMethod := fmt.Sprintf("%s.%s", servName, methName)
|
||||||
inType := g.typeName(method.GetInputType())
|
inType := g.typeName(method.GetInputType())
|
||||||
outType := g.typeName(method.GetOutputType())
|
outType := g.typeName(method.GetOutputType())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user