Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateTopic ¶
type CreateTopicLogIntro ¶
type Interface ¶
type Interface interface { TopicByTitle(title string) (topic m.Topic, hasTopic bool, reject error) CreateTopic(data CreateTopic) (topic m.Topic, reject error) TopicByID(id m.IDTopic) (topic m.Topic, hasTopic bool, reject error) // MustHasTopicByID 封装了 TopicByID ,如果 hasTopic == false 时 reject != nil MustHasTopicByID(id m.IDTopic) (topic m.Topic, reject error) UpdateTopicIntro(topicID m.IDTopic, intro string) (reject error) UpdateTopicCoverPhoto(topicID m.IDTopic, coverPhoto string) (reject error) CreateTopicLogCoverPhoto(data CreateTopicLogCoverPhoto) (reject error) CreateTopicLogIntro(data CreateTopicLogIntro) (reject error) }
Click to show internal directories.
Click to hide internal directories.