Add tags to models.Quiz

This commit is contained in:
Andrea Fazzi 2023-07-04 18:05:19 +02:00
parent 371379e981
commit a5b24b7919
2 changed files with 6 additions and 6 deletions

View file

@ -1,10 +1,10 @@
package models
type Quiz struct {
ID string
Hash string
Question *Question
Answers []*Answer
Correct *Answer
Type int
ID string `json:"id"`
Hash string `json:"hash"`
Question *Question `json:"question"`
Answers []*Answer `json:"answers"`
Correct *Answer `json:"correct"`
Type int `json:"type"`
}

BIN
probo

Binary file not shown.