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.