Implement number flags
This commit is contained in:
parent
30d0afe43f
commit
c3742ade4e
6 changed files with 104 additions and 5 deletions
|
|
@ -46,6 +46,9 @@ type ExerciceFlag struct {
|
|||
LockedFile []ExerciceUnlockFile `toml:"unlock_file,omitempty"`
|
||||
NeedFlag []ExerciceDependency `toml:"need_flag,omitempty"`
|
||||
NoShuffle bool
|
||||
NumberMin interface{} `toml:"min,omitempty"`
|
||||
NumberMax interface{} `toml:"max,omitempty"`
|
||||
NumberStep interface{} `toml:"step,omitempty"`
|
||||
}
|
||||
|
||||
// ExerciceFlagChoice holds informations about a choice (for MCQ and UCQ).
|
||||
|
|
|
|||
Reference in a new issue