From e2f67996a608346ea3f3525ef2febf6ca5d2b78c Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 4 Jul 2024 13:13:23 +0530 Subject: refactor: drop http api, move to sqlc/postgresql --- db/sqlc.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 db/sqlc.yaml (limited to 'db/sqlc.yaml') 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" -- cgit v1.2.3