Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuizChoice ¶
type QuizChoice struct {
Id int64 `json:"id" gorm:"primary_key;type:bigint"`
RoomId int64 `json:"quiz_id" gorm:"not null;type:bigint"`
UserId int64 `json:"user_id" gorm:"not null;type:bigint"`
Title string `json:"title" gorm:"not null;type:text"`
Option Options `json:"option" gorm:"type:json;not null"`
Answer Answers `json:"answer" gorm:"type:json;not null"`
}
type QuizJudge ¶
type QuizJudge struct {
Id int64 `json:"id" gorm:"primary_key;type:bigint"`
RoomId int64 `json:"room_id" gorm:"not null;type:bigint"`
UserId int64 `json:"user_id" gorm:"not null;type:bigint"`
Title string `json:"title" gorm:"not null;type:text"`
Answer bool `json:"answer" gorm:"type:boolean;not null"`
}
Click to show internal directories.
Click to hide internal directories.