Hacker News new | ask | show | jobs
by beckler 4154 days ago
Not totally sure, but I think Gin is faster because it uses HttpRouter under the covers.
2 comments

And httprouter is a bit limited as far as what you can do with the url rules, understadibly. I've documented it here:

https://www.dougcodes.com/go-lang/gin-gonic-may-be-40x-faste...

and here:

https://www.dougcodes.com/go-lang/martini-to-gin-back-to-mar...

Negroni/Gorilla Mux seems to be a good combination for me, but Jeremy Saenz is coming out with a new mux that I'm interested in trying when it's released to see how it compares to Gorilla Mux.