feat: added exercises handler/service/repo

This commit is contained in:
2026-09-04 12:29:44 +02:00
parent f0304cda1a
commit e1f274b744
9 changed files with 561 additions and 4 deletions
+6 -4
View File
@@ -4,10 +4,11 @@ import "database/sql"
type Store struct {
*Transactor
Auth *AuthRepo
Invite *InviteRepo
List *ListRepo
User *UserRepo
Auth *AuthRepo
Invite *InviteRepo
List *ListRepo
User *UserRepo
Exercise *ExerciseRepo
}
func NewStore(db *sql.DB) *Store {
@@ -19,5 +20,6 @@ func NewStore(db *sql.DB) *Store {
Invite: &InviteRepo{r},
List: &ListRepo{r},
User: &UserRepo{r},
Exercise: &ExerciseRepo{r},
}
}