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
- Host: GitHub
- URL: https://github.com/thimc/go-sqlc-demo
- Owner: thimc
- License: mit
- Created: 2023-08-05T08:06:13.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-05T08:08:39.000Z (almost 3 years ago)
- Last Synced: 2025-01-14T13:16:48.730Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`