Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
pggen
Generate type-safe Go for any Postgres query. If Postgres can run the query, pggen can generate code for it.
I will add a fourth choice that I have been using with PostgreSQL and it’s fantastic! https://gorm.io/ gorm
I created pggen a few weeks ago to create my preferred method of database interaction: I write real SQL queries and I use generated, type-safe Go interfaces to the queries. https://github.com/jschaf/pggen
The project is new but pretty well tested; bug reports welcome. Sqlc is a more mature code generator in the same design space with a different implementation that I can also recommend. https://github.com/kyleconroy/sqlc