feat(tester):
This commit is contained in:
parent
52d38d07bb
commit
50a4f87f53
9 changed files with 104 additions and 22 deletions
|
@ -53,3 +53,7 @@ func (uc *ContestUseCase) ReadRichTasks(ctx context.Context, contestId int32) ([
|
|||
func (uc *ContestUseCase) ListContests(ctx context.Context, page int32, pageSize int32) ([]*models.ContestsListItem, int32, error) {
|
||||
return uc.contestRepo.ListContests(ctx, page, pageSize)
|
||||
}
|
||||
|
||||
func (uc *ContestUseCase) ListParticipants(ctx context.Context, contestId int32, page int32, pageSize int32) ([]*models.ParticipantsListItem, int32, error) {
|
||||
return uc.contestRepo.ListParticipants(ctx, contestId, page, pageSize)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue