pggen enables users to interface with Postgres using SQL (instead of a query builder) and ensures that all Go code remains in sync with the database. Pggen, which is compatible with GORM, can also automatically generate model structs and basic CRUD methods for each struct.