An open API service indexing awesome lists of open source software.

https://github.com/thimc/go-sqlc-demo

a small demo that uses sqlc to compile SQL into type safe golang code
https://github.com/thimc/go-sqlc-demo

Last synced: about 1 month ago
JSON representation

a small demo that uses sqlc to compile SQL into type safe golang code

Awesome Lists containing this project

README

          

# sqlc demo

- Create a sqlc.yaml file

- Create a schema sql file, `schema.sql` in this example.

- Create a sql file containing the queries, `query.sql` in this example.

- Run `sqlc generate`