diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-07-04 13:13:23 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-07-05 17:02:06 +0530 |
commit | e2f67996a608346ea3f3525ef2febf6ca5d2b78c (patch) | |
tree | 932f766b65ed5a6ff3d57c772292a2b75210d9aa /db/sqlc.yaml | |
parent | e309091d17720b69c53172a41c0ea45ad7b66911 (diff) |
refactor: drop http api, move to sqlc/postgresql
Diffstat (limited to 'db/sqlc.yaml')
-rw-r--r-- | db/sqlc.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/sqlc.yaml b/db/sqlc.yaml new file mode 100644 index 0000000..0cd3357 --- /dev/null +++ b/db/sqlc.yaml @@ -0,0 +1,10 @@ +version: "2" +sql: + - engine: "postgresql" + queries: "query.sql" + schema: "schema.sql" + gen: + go: + package: "db" + out: "./" + sql_package: "pgx/v5" |