8 ms·
Very cool! I maintain a similar tool: sqlc https://github.com/kyleconroy/sqlc https://github.com/kyleconroy/sqlc In addition to catching SQL errors, it generat
by conroy 7y ago
Very cool! I maintain a similar tool: sqlc https://github.com/kyleconroy/sqlc https://github.com/kyleconroy/sqlc
In addition to catching SQL errors, it generates type-safe Go wrapping code. Right now it supports PostgreSQL and MySQL.
I’m (obviously) a huge fan of the SQL first approach and hope more people adopt it for their own projects.
- cube2222 7y agoCheck out OctoSQL if you like a SQL first approach: https://github.com/cube2222/octosql https://github.com/cube2222/octosql Disclosure: I'm one of the authors.