I am having a difficult time figuring out how I would implement another library's non-gin middlware. The function in question takes an http.Handler input parameter similar to:func Something(handler http.Handler) http.Handler{...}
Thanks!
In particular, i'd like to convert a gin.HandlerFunc to an http.Handler for use with 3rd party middleware.
For anyone interested, I ended up using github.com/gwatts/gin-adapter to address this.
Most helpful comment
For anyone interested, I ended up using github.com/gwatts/gin-adapter to address this.