format
This commit is contained in:
parent
8788eea4f0
commit
645f40f0c6
8 changed files with 32 additions and 37 deletions
|
@ -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"`
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue