Finish adding sqlc and fix some bugs
This commit is contained in:
		@ -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),
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user