Begin migration to sqlc

This commit is contained in:
2021-11-08 21:32:30 +00:00
parent f019c47d21
commit cf1bc70103
17 changed files with 427 additions and 72 deletions

View File

@ -2,11 +2,10 @@ package postgres
import (
"git.javil.eu/jacob1123/budgeteer"
"gopkg.in/pg.v5"
)
// Repository represents a PostgreSQL implementation of all ModelServices
type Repository struct {
DB *pg.DB
DB *Queries
IDGenerator budgeteer.IDGenerator
}