Ask HN: Are you using Go for web development?
1–10 of 43 posts
Re: Ask HN: Are you using Go for web development?
#2There are some small things about the language that can feel a little cumbersome (lack of generics for example) but largely happy with the language and the trade offs so far seem worth it.
Re: Ask HN: Are you using Go for web development?
#3Re: Ask HN: Are you using Go for web development?
#4yes! Jetbrains GoLand helps quite a bit with the more annoying parts of the language (GOPATH, remembering commands for tools, managing go modules, etc) There are some small things about the language that can feel a little cumbersome (lack of generics for example) but largely happy with the language and the trade offs so far seem worth it.
Re: Ask HN: Are you using Go for web development?
#5yes! Jetbrains GoLand helps quite a bit with the more annoying parts of the language (GOPATH, remembering commands for tools, managing go modules, etc) There are some small things about the language that can feel a little cumbersome (lack of generics for example) but largely happy with the language and the trade offs so far seem worth it.
Have you managed to get GoLand's IDE tests to work properly? I found that it imports only the file for the test but nothing else which causes errors due to "undefined" things (things defined in the package are not accessible as it only imported a single file). Other than that I'm a happy GoLand user
Re: Ask HN: Are you using Go for web development?
#6Generally I use standard library, with the exception being github.com/gorilla/mux Gorilla Mux for routing because it removes so much boilerplate.
I do however use Python for all HTTP integration tests. With requests + voluptuous its so much more productive than doing them in Go, which I had previously done.
Re: Ask HN: Are you using Go for web development?
#7I have very little temptation to use it for a whole application though. Unless you are already a Go shop I would advise anyone to just get better at making Ruby, Python, PHP, or JavaScript back ends that are more performant.
Re: Ask HN: Are you using Go for web development?
#8https://pace.dev/blog/2018/05/09/how-I-write-http-services-a...
Use sqlx to extend the std lib.
Have dropped using an orm.