sqlc generates fully-type safe idiomatic Go code from SQL.
Seriously, it's that easy. You don't have to write any boilerplate SQL querying code ever again. Read more in the introduction.
Sponsored and used by these lovely companies
The new MySQL engine, code-named Dolphin, is now default. The old engine has
been removed. Your generated code will be different, but should be easy to
adapt. Please open an issue if your code is now broken. If you were using the
mysql:beta engine, you’ll need to change that to