Documentation ¶
Index ¶
- Constants
- type PullRequest
- func (p *PullRequest) GetAssignees() []*github.User
- func (p *PullRequest) GetBody() string
- func (p *PullRequest) GetLabels() []*github.Label
- func (p *PullRequest) GetNumber() int
- func (p *PullRequest) GetOwner() string
- func (p *PullRequest) GetRepository() string
- func (p *PullRequest) GetTitle() string
- func (p *PullRequest) GetUser() *github.User
- func (p *PullRequest) SetAssignee(users []string) error
Constants ¶
View Source
const TIMEOUT = 15 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PullRequest ¶
type PullRequest struct { Owner string Repository string Number int // contains filtered or unexported fields }
func NewPullRequest ¶
func (*PullRequest) GetAssignees ¶ added in v1.3.0
func (p *PullRequest) GetAssignees() []*github.User
func (*PullRequest) GetBody ¶ added in v1.2.0
func (p *PullRequest) GetBody() string
func (*PullRequest) GetLabels ¶
func (p *PullRequest) GetLabels() []*github.Label
func (*PullRequest) GetNumber ¶ added in v1.2.0
func (p *PullRequest) GetNumber() int
func (*PullRequest) GetOwner ¶ added in v1.2.0
func (p *PullRequest) GetOwner() string
func (*PullRequest) GetRepository ¶ added in v1.2.0
func (p *PullRequest) GetRepository() string
func (*PullRequest) GetTitle ¶
func (p *PullRequest) GetTitle() string
func (*PullRequest) GetUser ¶ added in v1.3.0
func (p *PullRequest) GetUser() *github.User
func (*PullRequest) SetAssignee ¶ added in v1.3.0
func (p *PullRequest) SetAssignee(users []string) error
Click to show internal directories.
Click to hide internal directories.