Closed Aefyr closed 4 years ago
I'm not sure why this was designed as a wrapper function but that broke ginprom because all of the handler funcs had the same name, so I made this an actual middleware that can be attached via gin.Use. Tests pass, so it's probably fine
gin.Use
I made these changes on my master branch, but it looks like there's more to change, so I'll move these to a dedicated branch
I'm not sure why this was designed as a wrapper function but that broke ginprom because all of the handler funcs had the same name, so I made this an actual middleware that can be attached via
gin.Use
. Tests pass, so it's probably fine