DEV Community

Discussion on: Please recommend a restful API framework in Golang

Collapse
 
rhymes profile image
rhymes

I didn't use any, so I wouldn't know but one thing that I've noticed is that a lot of people don't and a lot of people do so you might want to research that a bit.

Strictly speaking, because how powerful the standard lib is, the only piece of framework you really need is the router and you can use gorilla mux for that.

gin seems a very populate HTTP framework on which you can build a REST API.

On dev.to @codehakase wrote a tutorial on how to build a web app with gin:

Collapse
 
taitung profile image
Guo-Guang

Nice. I found that gorilla mux has similar stuff like middleware in express or koa. I would probably start from gorilla mux and then other frameworks like gin if needed. Thank you, @rhymes