Hacker News new | ask | show | jobs
by ihsw 3999 days ago
The best advice I can give is to write a minimal web server using net/http[0], get a feel for how to write a RESTful HTTP API by hand, and then start experimenting with web frameworks like Gin[1], Martini[2], and Beego[3].

[0] https://golang.org/doc/articles/wiki/

[1] https://github.com/gin-gonic/gin

[2] https://github.com/go-martini/martini

[3] https://github.com/astaxie/beego

1 comments

I'd recommend against both martini and gin. Neither of which properly use the HTTPHandler interface and the owner of martini has officially stated that martini is not idiomatic.

I loved it when I started, then really hated it when I needed to refactor, there is just too much magic and you pay a speed cost for that magic.