(name string)
| 656 | } |
| 657 | |
| 658 | func (pr *PullRequest) HasRequestedTeam(name string) bool { |
| 659 | for _, team := range pr.RequestedTeams { |
| 660 | if strings.EqualFold(team.Slug, name) { |
| 661 | return true |
| 662 | } |
| 663 | } |
| 664 | return false |
| 665 | } |
| 666 | |
| 667 | type IssueLabel struct { |
| 668 | Name string `json:"name"` |