velodrome/sql/model.go
func (issue *Issue) FindLabels(regex *regexp.Regexp) []Label {
	labels := []Label{}

	for _, label := range issue.Labels {
		if regex.MatchString(label.Name) {
			labels = append(labels, label)
		}
	}

	return labels
}
func (issue *Issue) FindLabels(regex *regexp.Regexp) []Label {
	labels := []Label{}

	for _, label := range issue.Labels {
		if regex.MatchString(label.Name) {
			labels = append(labels, label)
		}
	}

	return labels
}
// FindLabels returns the list of labels matching the regex