sqlc

Generate type-safe Go code from SQL queries

brewmacoslinux
Try with needOr install directly
Source

About

Generate type safe Go from SQL

Commands

sqlc

Examples

Initialize a new sqlc project with configuration file$ sqlc init
Generate Go code from SQL queries defined in sqlc.yaml$ sqlc generate
Compile and verify SQL queries without generating code$ sqlc compile