6 ms·
With Go 1.16, you can embed SQL files into your Go app instead of using a multiline literal. I actually am curious if a SQLC competitor should be written using
by earthboundkid 5y ago
With Go 1.16, you can embed SQL files into your Go app instead of using a multiline literal.
I actually am curious if a SQLC competitor should be written using embed + generics once generics drop in 1.18. I haven’t totally worked on what it would look like yet, but it’s an interesting idea.
- Sadzeih 5y agoI think generics will change a lot of the ORM space for go yeah. Will be interesting to see.