8 ms·
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/ https://ant0ine.
by cat9 11y 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/ 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 https://github.com/gorilla
Then you'll want database-related packages like redigo and gorp.
https://github.com/garyburd/redigo https://github.com/garyburd/redigo
https://github.com/go-gorp/gorp https://github.com/go-gorp/gorp
- Everlag 11y agoI 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 https://github.com/emicklei/go-restful
- mattmc 11y agoGorp is nice, although I prefer the sqlx-based flavor, Modl (https://github.com/jmoiron/modl https://github.com/jmoiron/modl).
- deleted 11y ago[deleted]
- cat9 11y agoI'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.