Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init() (*mongo.Collection, *mongo.Collection)
Types ¶
type Voca ¶
type Voca struct { ID primitive.ObjectID `form:"id" json:"_id" bson:"_id"` Word string `form:"word" json:"word" bson:"word"` Type string `form:"type" json:"type" bson:"type"` Meaning string `form:"meaning" json:"meaning" bson:"meaning"` Synonym []string `form:"synonym[]" json:"synonym" bson:"synonym"` Antonym []string `form:"antonym[]" json:"antonym" bson:"antonym"` Examples []string `form:"examples[]" json:"examples" bson:"examples"` }
Click to show internal directories.
Click to hide internal directories.