feat(tester): extend ListContests endpoint
This commit is contained in:
parent
251772a049
commit
52d38d07bb
8 changed files with 66 additions and 4 deletions
|
@ -8,3 +8,10 @@ type Contest struct {
|
|||
CreatedAt *time.Time `db:"created_at"`
|
||||
UpdatedAt *time.Time `db:"updated_at"`
|
||||
}
|
||||
|
||||
type ContestsListItem struct {
|
||||
Id int32 `db:"id"`
|
||||
Title string `db:"title"`
|
||||
CreatedAt time.Time `db:"created_at"`
|
||||
UpdatedAt time.Time `db:"updated_at"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue