Hacker News new | ask | show | jobs
by cat9 4016 days ago
I've been using go-json-rest, which is by way of "just enough on top of net/http to make APIs easier."

https://ant0ine.github.io/go-json-rest/

Gorilla is useful, but more for its range of standalone components than as a framework.

https://github.com/gorilla

Then you'll want database-related packages like redigo and gorp.

https://github.com/garyburd/redigo

https://github.com/go-gorp/gorp

2 comments

Gorp is nice, although I prefer the sqlx-based flavor, Modl (https://github.com/jmoiron/modl).
I'm still kind of on the fence about this. I like a lot of the choices Modl makes as a fork of Gorp, but it has significantly fewer users, particularly in the case of e.g. modl-migrate vs. sql-migrate.
I have been using go-restful which lets you wrap documentation into the code. It generates swagger docs which are very nice to deal with.

https://github.com/emicklei/go-restful