Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PullRequest ¶
func (PullRequest) TimeOpen ¶
func (p PullRequest) TimeOpen() time.Duration
type PullRequestsByCreatedAt ¶
type PullRequestsByCreatedAt []PullRequest
PullRequestsBySortedAt providers a sorter based on CreatedAt timestamp, from oldest to newest.
func (PullRequestsByCreatedAt) Len ¶
func (ps PullRequestsByCreatedAt) Len() int
func (PullRequestsByCreatedAt) Less ¶
func (ps PullRequestsByCreatedAt) Less(i, j int) bool
func (PullRequestsByCreatedAt) Swap ¶
func (ps PullRequestsByCreatedAt) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.