Open Aefyr opened 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
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