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("},") }