Documentation
¶
Index ¶
Constants ¶
View Source
const ( CREATE = 1 DELETE = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
func QueryCommentList ¶
type PostCommentFlow ¶
type PostCommentFlow struct { *Response // contains filtered or unexported fields }
func NewPostCommentFlow ¶
func (*PostCommentFlow) CreateComment ¶
func (p *PostCommentFlow) CreateComment() (*models.Comment, error)
CreateComment 增加评论
func (*PostCommentFlow) DeleteComment ¶
func (p *PostCommentFlow) DeleteComment() (*models.Comment, error)
DeleteComment 删除评论
func (*PostCommentFlow) Do ¶
func (p *PostCommentFlow) Do() (*Response, error)
type QueryCommentListFlow ¶
type QueryCommentListFlow struct {
// contains filtered or unexported fields
}
func NewQueryCommentListFlow ¶
func NewQueryCommentListFlow(userId, videoId int64) *QueryCommentListFlow
func (*QueryCommentListFlow) Do ¶
func (q *QueryCommentListFlow) Do() (*List, error)
Click to show internal directories.
Click to hide internal directories.