Documentation ¶
Index ¶
- func CreateIssueComment(doer *user_model.User, repo *repo_model.Repository, issue *issues_model.Issue, ...) (*issues_model.Comment, error)
- func DeleteComment(doer *user_model.User, comment *issues_model.Comment) error
- func UpdateComment(c *issues_model.Comment, doer *user_model.User, oldContent string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIssueComment ¶
func CreateIssueComment(doer *user_model.User, repo *repo_model.Repository, issue *issues_model.Issue, content string, attachments []string) (*issues_model.Comment, error)
CreateIssueComment creates a plain issue comment.
func DeleteComment ¶
func DeleteComment(doer *user_model.User, comment *issues_model.Comment) error
DeleteComment deletes the comment
func UpdateComment ¶
func UpdateComment(c *issues_model.Comment, doer *user_model.User, oldContent string) error
UpdateComment updates information of comment.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.