GetAttachmentByUUID returns attachment by given UUID.
(uuid string)
| 123 | |
| 124 | // GetAttachmentByUUID returns attachment by given UUID. |
| 125 | func GetAttachmentByUUID(uuid string) (*Attachment, error) { |
| 126 | return getAttachmentByUUID(x, uuid) |
| 127 | } |
| 128 | |
| 129 | func getAttachmentsByIssueID(e Engine, issueID int64) ([]*Attachment, error) { |
| 130 | attachments := make([]*Attachment, 0, 5) |
no test coverage detected