I don't work with Go, but this seems like a dream. I really like the SQLx query macros in Rust. I would love for something like this
https://docs.sqlc.dev/en/latest/reference/language-support.h...
Surprisingly not Java, but probably pretty easy to add support for more.
Cornucopia generates rust code.
We don't need to generate code and we get the same type safety from queries written in plain SQL.
If anything, I wish there was a SQLx in other languages I have to support.