Documentation
¶
Index ¶
- Variables
- func AddLabel(repo string, issueNumber int, label string) error
- func GetToken() (string, error)
- func PRExistsForIssue(repo string, issueNumber int) (bool, error)
- func VerifyPRExists(repo string, issueNumber, pid int) (bool, error)
- type Issue
- type IssueDetails
- type Label
- type PullRequest
- type Release
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoReleases = errors.New("no releases found")
ErrNoReleases indicates no releases exist for the repository
View Source
var ErrRateLimited = errors.New("GitHub API rate limit exceeded")
ErrRateLimited is returned when the GitHub API rate limit is exceeded.
Functions ¶
Types ¶
type Issue ¶
type Issue struct {
Number int `json:"number"`
Title string `json:"title"`
Body string `json:"body"`
Labels []Label `json:"labels"`
}
func ListIssues ¶
type IssueDetails ¶
func GetIssueDetails ¶
func GetIssueDetails(repo string, number int) (*IssueDetails, error)
type PullRequest ¶
Click to show internal directories.
Click to hide internal directories.