GetAttachmentsByCommentID returns all attachments of a comment.
(commentID int64)
| 143 | |
| 144 | // GetAttachmentsByCommentID returns all attachments of a comment. |
| 145 | func GetAttachmentsByCommentID(commentID int64) ([]*Attachment, error) { |
| 146 | return getAttachmentsByCommentID(x, commentID) |
| 147 | } |
| 148 | |
| 149 | func getAttachmentsByReleaseID(e Engine, releaseID int64) ([]*Attachment, error) { |
| 150 | attachments := make([]*Attachment, 0, 10) |
no test coverage detected