settings: Save duration in challenge.json

This commit is contained in:
nemunaire 2022-05-24 23:00:49 +02:00
commit 123467f3eb
3 changed files with 9 additions and 2 deletions

View file

@ -17,6 +17,8 @@ type ChallengeInfo struct {
SubTitle string `json:"subtitle"`
// Authors is the group name of people making the challenge.
Authors string `json:"authors"`
// ExpectedDuration is the duration (in minutes) suggested when stating the challenge.
ExpectedDuration uint `json:"duration"`
// VideoLink is the link to explaination videos when the challenge is over.
VideosLink string `json:"videoslink"`