lint fixes

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2021-08-20 23:03:11 +03:00
parent e4f2867419
commit dd62c380f2

View File

@ -459,7 +459,7 @@ func generateServiceEndpoints(gfile *protogen.GeneratedFile, service *protogen.S
if proto.HasExtension(method.Desc.Options(), api_options.E_Http) { if proto.HasExtension(method.Desc.Options(), api_options.E_Http) {
endpoints, streaming := generateEndpoints(method) endpoints, streaming := generateEndpoints(method)
for _, endpoint := range endpoints { for _, endpoint := range endpoints {
gfile.P(microApiPackage.Ident("Endpoint"), "{") gfile.P("{")
generateEndpoint(gfile, serviceName, method.GoName, endpoint, streaming) generateEndpoint(gfile, serviceName, method.GoName, endpoint, streaming)
gfile.P("},") gfile.P("},")
} }