sqlc generates type-safe code from SQL. You write queries in SQL. You run sqlc to generate code with type-safe interfaces to those queries. You write application code that calls the generated code.
Features
- Compile SQL to type-safe code
- Catch failures before they happen
- sqlc generates fully type-safe idiomatic code from SQL
- Write application code calling the methods sqlc generated
- Run sqlc to generate code that presents type-safe interfaces to those queries
- You can use your newly-generated tutorial package from any Go program
