Documentation ¶
Index ¶
- func GetBsonFromCategory(model *models.Category) bson.D
- func GetBsonFromVideo(model *models.Video) bson.D
- func GetInvalidInsertCategoryDto() dto.InsertCategory
- func GetInvalidInsertVideoDto() dto.InsertVideo
- func GetValidCategory() *models.Category
- func GetValidCategoryWithId(id primitive.ObjectID) *models.Category
- func GetValidInsertCategoryDto() dto.InsertCategory
- func GetValidInsertVideoDto() dto.InsertVideo
- func GetValidVideo() *models.Video
- func GetValidVideoWithId(id primitive.ObjectID) *models.Video
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInvalidInsertCategoryDto ¶
func GetInvalidInsertCategoryDto() dto.InsertCategory
func GetInvalidInsertVideoDto ¶
func GetInvalidInsertVideoDto() dto.InsertVideo
func GetValidCategory ¶
func GetValidInsertCategoryDto ¶
func GetValidInsertCategoryDto() dto.InsertCategory
func GetValidInsertVideoDto ¶
func GetValidInsertVideoDto() dto.InsertVideo
func GetValidVideo ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.