You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Writing a package that generates swagger spec using engine.Routes() and reflection, I encountered a fairly specific issue:
All gin.HandlerFunc that are closures will have the same name, not letting me distinguish between them.
Would it be possible to have a Setter to configure custom names for certain gin.HandlerFunc, letting me override runtime.FuncForPC(...).Name() in gin.nameOfFunction() ?
The text was updated successfully, but these errors were encountered:
Writing a package that generates swagger spec using engine.Routes() and reflection, I encountered a fairly specific issue:
All gin.HandlerFunc that are closures will have the same name, not letting me distinguish between them.
Would it be possible to have a Setter to configure custom names for certain gin.HandlerFunc, letting me override runtime.FuncForPC(...).Name() in gin.nameOfFunction() ?
The text was updated successfully, but these errors were encountered: