Documentation ¶
Index ¶
- func AbsInt32(value int32) int32
- func ElementOf(s []string, str string) bool
- func FileExt(fp string) string
- func GenerateRandom(size int) int
- func GetPullRequestNumber(pullRequest *github.PullRequest) int
- func GetPullRequestOwnerName(pullRequest *github.PullRequest) string
- func GetPullRequestRepoName(pullRequest *github.PullRequest) string
- func HasLinearHistory(commit *github.Commit) bool
- func PaginatedRequest(initFn func() interface{}, ...) (interface{}, error)
- func ParseNumPages(resp *github.Response) int
- func ParseNumPagesFromLink(link string) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandom ¶
func GetPullRequestNumber ¶
func GetPullRequestNumber(pullRequest *github.PullRequest) int
func GetPullRequestOwnerName ¶
func GetPullRequestOwnerName(pullRequest *github.PullRequest) string
func GetPullRequestRepoName ¶
func GetPullRequestRepoName(pullRequest *github.PullRequest) string
func HasLinearHistory ¶
func PaginatedRequest ¶
func ParseNumPages ¶
ParseNumPages Given a link header string representing pagination info, returns total number of pages.
func ParseNumPagesFromLink ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.