cache
cache copied to clipboard
Make this an actual middleware
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