func NewRepo(a *config.AppConfig, db *driver.DB) *Repository {
	return &Repository{
		App: a,
		DB:  database.NewPostgres(db.Conn, a),
	}
}
// NewRepo creates a new repository
NewRepo creates a new repository
// NewRepo creates a new repository
func NewRepo(a *config.AppConfig, db *driver.DB) *Repository {
	return &Repository{
		App: a,
		DB:  database.NewPostgres(db.Conn, a),
	}
}
func NewRepo ( a * config . AppConfig , db * driver . DB ) * Repository { return & Repository { App : a , DB : database . NewPostgres ( db . Conn , a ) , } }
NewRepo creates a new repository
NewRepo creates a new repository