@@ -105,7 +105,7 @@ func interceptorFile(svc *Data, server bool) *codegen.File {
105105 sections = append (sections , & codegen.SectionTemplate {
106106 Name : section ,
107107 Source : readTemplate (template ),
108- Data : map [string ]interface {} {
108+ Data : map [string ]any {
109109 "MethodVarName" : m .VarName ,
110110 "Method" : m .Name ,
111111 "Service" : svc .Name ,
@@ -148,7 +148,7 @@ func wrapperFile(svc *Data) *codegen.File {
148148 sections = append (sections , & codegen.SectionTemplate {
149149 Name : "server-interceptor-stream-wrapper-types" ,
150150 Source : readTemplate ("server_interceptor_stream_wrapper_types" ),
151- Data : map [string ]interface {} {
151+ Data : map [string ]any {
152152 "WrappedServerStreams" : wrappedServerStreams ,
153153 },
154154 })
@@ -160,7 +160,7 @@ func wrapperFile(svc *Data) *codegen.File {
160160 sections = append (sections , & codegen.SectionTemplate {
161161 Name : "client-interceptor-stream-wrapper-types" ,
162162 Source : readTemplate ("client_interceptor_stream_wrapper_types" ),
163- Data : map [string ]interface {} {
163+ Data : map [string ]any {
164164 "WrappedClientStreams" : wrappedClientStreams ,
165165 },
166166 })
@@ -172,7 +172,7 @@ func wrapperFile(svc *Data) *codegen.File {
172172 sections = append (sections , & codegen.SectionTemplate {
173173 Name : "server-interceptor-wrappers" ,
174174 Source : readTemplate ("server_interceptor_wrappers" ),
175- Data : map [string ]interface {} {
175+ Data : map [string ]any {
176176 "Service" : svc .Name ,
177177 "ServerInterceptors" : svc .ServerInterceptors ,
178178 },
@@ -182,7 +182,7 @@ func wrapperFile(svc *Data) *codegen.File {
182182 sections = append (sections , & codegen.SectionTemplate {
183183 Name : "client-interceptor-wrappers" ,
184184 Source : readTemplate ("client_interceptor_wrappers" ),
185- Data : map [string ]interface {} {
185+ Data : map [string ]any {
186186 "Service" : svc .Name ,
187187 "ClientInterceptors" : svc .ClientInterceptors ,
188188 },
@@ -194,7 +194,7 @@ func wrapperFile(svc *Data) *codegen.File {
194194 sections = append (sections , & codegen.SectionTemplate {
195195 Name : "server-interceptor-stream-wrappers" ,
196196 Source : readTemplate ("server_interceptor_stream_wrappers" ),
197- Data : map [string ]interface {} {
197+ Data : map [string ]any {
198198 "WrappedServerStreams" : wrappedServerStreams ,
199199 },
200200 })
@@ -203,7 +203,7 @@ func wrapperFile(svc *Data) *codegen.File {
203203 sections = append (sections , & codegen.SectionTemplate {
204204 Name : "client-interceptor-stream-wrappers" ,
205205 Source : readTemplate ("client_interceptor_stream_wrappers" ),
206- Data : map [string ]interface {} {
206+ Data : map [string ]any {
207207 "WrappedClientStreams" : wrappedClientStreams ,
208208 },
209209 })
0 commit comments