tools: add sqlc generation tools

This commit is contained in:
sputn1ck 2023-05-17 19:05:34 +02:00
parent 5d9d7c5c6e
commit 5c07c20d16
No known key found for this signature in database
GPG key ID: 671103D881A5F0E4
5 changed files with 1321 additions and 74 deletions

10
sqlc.yaml Normal file
View file

@ -0,0 +1,10 @@
version: "2"
sql:
- engine: "postgresql"
schema: "loopdb/sqlc/migrations"
queries: "loopdb/sqlc/queries"
gen:
go:
out: loopdb/sqlc
package: sqlc
emit_interface: true