gh

package
v0.0.0-...-8cafb24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PriorityCriticalUrgent    = "priority/critical-urgent"
	PriorityImportantSoon     = "priority/important-soon"
	PriorityImportantLongterm = "priority/important-longterm"
)

Variables

This section is empty.

Functions

func HowManyIssuesWithLabels

func HowManyIssuesWithLabels(ctx context.Context, labels ...string) (map[string]int, error)

func NewGithubClient

func NewGithubClient(ctx context.Context) (*github.Client, error)

Types

type RelevantPullRequests

type RelevantPullRequests struct {
	PRBeingReviewed *github.PullRequest
	PRs             []*github.PullRequest
	NumFilesMatched map[int]int
}

func GetRelevantPullRequests

func GetRelevantPullRequests(ctx context.Context, prNum int) (*RelevantPullRequests, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL