Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteWithCategoryID ¶
Types ¶
type VocabularyList ¶
type VocabularyList struct { Name string `bson:"name, omitempty" json:"name"` ID primitive.ObjectID `bson:"_id, omitempty" json:"id"` CategoryID primitive.ObjectID `bson:"categoryID, omitempty" json:"categoryId"` Owner string `bson:"owner, omitempty" json:"owner"` }
func GetVocabularyList ¶
func GetVocabularyList(categoryID string) ([]VocabularyList, error)
func (*VocabularyList) Insert ¶
func (vocabularyList *VocabularyList) Insert() error
Click to show internal directories.
Click to hide internal directories.