Ask HN: What Go framework for web API are you using in production?
11–20 of 65 posts
Re: Ask HN: What Go framework for web API are you using in production?
#12We run grpc-web with a big single-page VueJS app on the frontend. That way, Go is just the Api server, and the frontend handles all the routing and stuff.
We will also try to go this path. What is your overall satisfaction with this approach? I saw that grpc-web is marked as alpha and the grpc team itself wants to implement something which is kind of comparable.
Re: Ask HN: What Go framework for web API are you using in production?
#13grpc-go (https://github.com/grpc/grpc-go) + grpc-gateway (https://github.com/grpc-ecosystem/grpc-gateway)
Re: Ask HN: What Go framework for web API are you using in production?
#14Can anybody share experience with gobuffalo.
Re: Ask HN: What Go framework for web API are you using in production?
#15Using no frameworks at all, only https://github.com/julienschmidt/httprouter for routing.
Yeah, I had really good experience with httprouter also. Everything in production is based on it.
Re: Ask HN: What Go framework for web API are you using in production?
#16net/http with gorilla/mux for routing
Re: Ask HN: What Go framework for web API are you using in production?
#17We run grpc-web with a big single-page VueJS app on the frontend. That way, Go is just the Api server, and the frontend handles all the routing and stuff.
This seems to be a popular answer - i.e. go is the web framework.
Re: Ask HN: What Go framework for web API are you using in production?
#18Using no frameworks at all, only https://github.com/julienschmidt/httprouter for routing.
How do you handle database schema migrations?
Re: Ask HN: What Go framework for web API are you using in production?
#19net/http with gorilla/mux for routing
Same here. I never really liked idea of frameworks like Spring/Django for Golang. Rather build very small services and mostly use just standard library, perhaps some simple packages for specific tasks.