Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectMongo ¶
func ConnectMongo()
Types ¶
type Question ¶
type Question struct { Id int32 `bson:"id" json:"id"` Value string `bson:"value" json:"value"` Answers []string `bson:"answers" json:"answers"` CorrectAnswer string `bson:"correct_answer" json:"correct_answer"` Difficulty string `bson:"difficulty" json:"difficulty"` Topic string `bson:"topic" json:"topic"` }
Click to show internal directories.
Click to hide internal directories.