Re:Toyorm – ORM for Go
by leetrout on Tuesday April 03, 2018 @01:03AM
(#16742040)
Agree 100%.
It's so easy to refactor Go and adding codegen on top is a piece of cake.
Like anything, it can be overused- but it's far better than reflect & co.
I'm glad to hear someone else shares my thoughts on SQL... there are things that are hard to express in ORM-speak but for the basic CRUD operations I much prefer writing code to make the SQL instead of spending time writing the same SQL templates over and over.
It's so easy to refactor Go and adding codegen on top is a piece of cake.
Like anything, it can be overused- but it's far better than reflect & co.
I'm glad to hear someone else shares my thoughts on SQL... there are things that are hard to express in ORM-speak but for the basic CRUD operations I much prefer writing code to make the SQL instead of spending time writing the same SQL templates over and over.