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].
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.
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.