feat(tester): extend ListProblems endpoint
This commit is contained in:
parent
81d7aa2366
commit
251772a049
8 changed files with 76 additions and 4 deletions
|
@ -9,6 +9,7 @@ type ProblemPostgresRepository interface {
|
|||
CreateProblem(ctx context.Context, title string) (int32, error)
|
||||
ReadProblemById(ctx context.Context, id int32) (*models.Problem, error)
|
||||
DeleteProblem(ctx context.Context, id int32) error
|
||||
ListProblems(ctx context.Context, page int32, pageSize int32) ([]*models.ProblemListItem, int32, error)
|
||||
}
|
||||
|
||||
type ContestRepository interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue