added db pkg and sqlc config

This commit is contained in:
2025-04-10 18:11:08 -05:00
parent f896587663
commit 4e374fab54
4 changed files with 17 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
package database
type DB struct{}
func NewDB() (*DB, error) {
return &DB{}, nil
}
+10
View File
@@ -0,0 +1,10 @@
version: "2"
sql:
- name: "yellowjacket"
engine: "sqlite"
queries: "./sql/queries"
schema: "./sql/schemas"
gen:
go:
package: "sql"
out: "sql"