Documentation
¶
Index ¶
- func DeleteTopic(topic *topics.Entity) error
- func DeleteTopicWithDB(conn *gorm.DB, topic *topics.Entity) error
- func SaveTopicAndFirstPost(input FirstPostWrite) error
- func SaveTopicAndFirstPostWithDB(conn *gorm.DB, input FirstPostWrite) error
- func SaveTopicCategories(topic *topics.Entity, categoryIDs []uint64) error
- func SaveTopicCategoriesWithDB(conn *gorm.DB, topic *topics.Entity, categoryIDs []uint64) error
- func UpdateTopicProcessStatus(topic *topics.Entity, nextStatus int8) error
- func UpdateTopicProcessStatusWithDB(conn *gorm.DB, topic *topics.Entity, nextStatus int8) error
- func UpdateTopicStatus(topic *topics.Entity, nextStatus int8) error
- func UpdateTopicStatusWithDB(conn *gorm.DB, topic *topics.Entity, nextStatus int8) error
- type FirstPostWrite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteTopic ¶ added in v0.2.68
func DeleteTopicWithDB ¶ added in v0.2.68
func SaveTopicAndFirstPost ¶
func SaveTopicAndFirstPost(input FirstPostWrite) error
func SaveTopicAndFirstPostWithDB ¶
func SaveTopicAndFirstPostWithDB(conn *gorm.DB, input FirstPostWrite) error
func SaveTopicCategories ¶
func SaveTopicCategoriesWithDB ¶ added in v0.2.68
func UpdateTopicProcessStatus ¶ added in v0.2.68
func UpdateTopicProcessStatusWithDB ¶ added in v0.2.68
func UpdateTopicStatus ¶ added in v0.2.68
Types ¶
Click to show internal directories.
Click to hide internal directories.