From f8297fa15fe5d8aed1c0156f49409fdcc66d4278 Mon Sep 17 00:00:00 2001 From: Lukas Jenicek Date: Fri, 27 Sep 2024 12:07:55 +0200 Subject: [PATCH] rename to methodAnotations --- types.go.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.go.tmpl b/types.go.tmpl index ee304a8..5e0af53 100644 --- a/types.go.tmpl +++ b/types.go.tmpl @@ -31,7 +31,7 @@ {{- range $_, $service := $services -}} var ( - annotations = map[string]map[string]string{ + methodAnnotations = map[string]map[string]string{ {{- range $_, $method := $service.Methods }} "/rpc/{{$service.Name}}/{{$method.Name}}": { {{- range $_, $annotation := $method.Annotations -}}