From dd62c380f2575a898ad8fdc0900fc1bee15217ce Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Fri, 20 Aug 2021 23:03:11 +0300 Subject: [PATCH] lint fixes Signed-off-by: Vasiliy Tolstov --- util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.go b/util.go index 3070e7f..96fffaa 100644 --- a/util.go +++ b/util.go @@ -459,7 +459,7 @@ func generateServiceEndpoints(gfile *protogen.GeneratedFile, service *protogen.S if proto.HasExtension(method.Desc.Options(), api_options.E_Http) { endpoints, streaming := generateEndpoints(method) for _, endpoint := range endpoints { - gfile.P(microApiPackage.Ident("Endpoint"), "{") + gfile.P("{") generateEndpoint(gfile, serviceName, method.GoName, endpoint, streaming) gfile.P("},") }