Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitAuthor ¶ added in v0.9.0
CommitAuthor is the data (name and email) used when a commit is made
type Error ¶
type Error string
Error exist to create constant errors
type NewPullRequest ¶
type NewPullRequest struct {
Title string
Body string
Head string
Base string
Reviewers []string // The username of all reviewers
}
NewPullRequest is the data needed to create a new pull request
type PullRequest ¶
type PullRequest interface {
Status() PullRequestStatus
String() string
}
PullRequest represents a pull request
type PullRequestStatus ¶
type PullRequestStatus int
PullRequestStatus is the status of a pull request, including statuses of the last commit
const ( PullRequestStatusUnknown PullRequestStatus = iota PullRequestStatusSuccess PullRequestStatusPending PullRequestStatusError PullRequestStatusMerged PullRequestStatusClosed )
All PullRequestStatuses
func (PullRequestStatus) String ¶
func (s PullRequestStatus) String() string
Click to show internal directories.
Click to hide internal directories.