Hacker News new | ask | show | jobs
by LtWorf 30 days ago
I think the purpose of go is to write CRUD. Stray from that and you're on your own.
1 comments

crud is a pretty poor fit for go, you're better served by languages like python that can autogenerate classes that reflect the db schema. go's sweet spot is things like network servers.
Go tooling has this kind of thing as well. I'm not a huge fan of go, but last time I had to work with it, we leveraged a lot of codegen.
you just need the right tools https://github.com/CaliLuke/loom