Use this to wrap middleware that accepts and returns http.Handler
objects for use in gin.
Created to look like these helper methods in gin:
See the test code. I have examples wrapping the NYT gzip library and NoSurf, a popular CSRF protection middleware for golang.
Based on this gist: https://gist.github.com/turtlemonvh/6cd23ef13e1e290717ef
MIT