Merge pull request 'Added solved_count to listproblems endpoint' (#2) from listproblems-solved-count into develop
Reviewed-on: #2 Reviewed-by: Vyacheslav Birin <vyacheslav1557@noreply.localhost> Reviewed-by: Holoti <holoti@noreply.localhost>
This commit is contained in:
commit
2ab7a16ddf
3 changed files with 17 additions and 3 deletions
|
@ -32,6 +32,7 @@ type ProblemsListItem struct {
|
|||
TimeLimit int32 `db:"time_limit"`
|
||||
CreatedAt time.Time `db:"created_at"`
|
||||
UpdatedAt time.Time `db:"updated_at"`
|
||||
SolvedCount int32 `db:"solved_count"`
|
||||
}
|
||||
|
||||
type ProblemsList struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue