News for hackers. Stuff that matters.
Re:How We Went All In on sqlc/pgx for Postgres and Go by earthboundkid on Wednesday September 08, 2021 @10:52PM (#28465672)
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.

Re:How We Went All In on sqlc/pgx for Postgres and Go by Sadzeih on Thursday September 09, 2021 @04:44AM (#28467620)
I think generics will change a lot of the ORM space for go yeah. Will be interesting to see.