Finish adding sqlc and fix some bugs

This commit is contained in:
2024-08-01 16:49:59 +02:00
parent 459a4e5c7d
commit dd49a1e687
8 changed files with 77 additions and 27 deletions

View File

@ -32,7 +32,7 @@ type Repository struct {
func NewRepo(a *config.AppConfig, db *repository.DB) *Repository {
return &Repository{
App: a,
DB: dbrepo.NewPostgresRepo(db.SQL, a),
DB: dbrepo.NewPgcRepo(db.PG, a),
}
}