rach/pome

Start using one of the go web framework/libs to handle the routing and context

rach opened this issue · 3 comments

rach commented

I did the first version using the built-in http package as I had never used go before.
It's quite limited and it will help to have gzip and others.

So far, I liked http://www.gorillatoolkit.org/ as it's more of library than a framework. Any suggestion are welcomed.

Using built in http package is working so far. No sure using a framework would provide much of a benefit at this point.

I'm not sure it's worth adding a dependency either tbh. The app is mainly just serving static files and a couple of api requests so it seems like overkill to me. However, if the api requests become more complicated (more metrics, filtering, etc) then you could look at httprouter. It doesn't add much to the standard web server, but gives you an easier way to set up routes, without adding a lot of bloat.

rach commented

Good to know. Thanks for your input.
I will close this issue for now. Maybe we can reopen in the future if we have the need.