(e Engine, issueID, labelID int64)
| 262 | } |
| 263 | |
| 264 | func hasIssueLabel(e Engine, issueID, labelID int64) bool { |
| 265 | has, _ := e.Where("issue_id = ? AND label_id = ?", issueID, labelID).Get(new(IssueLabel)) |
| 266 | return has |
| 267 | } |
| 268 | |
| 269 | // HasIssueLabel returns true if issue has been labeled. |
| 270 | func HasIssueLabel(issueID, labelID int64) bool { |
no test coverage detected