refact!: project structure
This commit is contained in:
parent
fd0ca4411b
commit
db53ae04e3
26 changed files with 971 additions and 6395 deletions
14
sql/sqlc.yaml
Normal file
14
sql/sqlc.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
version: "2"
|
||||
sql:
|
||||
- engine: "postgresql"
|
||||
queries:
|
||||
- "../modules/backend/queries.sql"
|
||||
schema: "migrations"
|
||||
gen:
|
||||
go:
|
||||
package: "sqlc"
|
||||
out: "."
|
||||
sql_package: "pgx/v5"
|
||||
sql_driver: "github.com/jackc/pgx/v5"
|
||||
emit_json_tags: true
|
||||
emit_pointers_for_null_types: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue