This commit is contained in:
nemunaire 2016-01-23 13:19:28 +01:00
parent 8788eea4f0
commit 645f40f0c6
8 changed files with 32 additions and 37 deletions

View file

@ -17,14 +17,14 @@ var ApiThemesRouting = map[string]DispatchFunction{
}
type exportedExercice struct {
Title string `json:"title"`
Gain int64 `json:"gain"`
Solved int64 `json:"solved"`
Title string `json:"title"`
Gain int64 `json:"gain"`
Solved int64 `json:"solved"`
}
type exportedTheme struct {
Name string `json:"name"`
Authors string `json:"authors"`
Name string `json:"name"`
Authors string `json:"authors"`
Exercices map[string]exportedExercice `json:"exercices"`
}