mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
tools: add sqlc generation tools
This commit is contained in:
parent
5d9d7c5c6e
commit
5c07c20d16
5 changed files with 1321 additions and 74 deletions
10
sqlc.yaml
Normal file
10
sqlc.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue