reviewers

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PRWithCount

type PRWithCount struct {
	PR          *github.PullRequest
	ReviewCount int
}

type Stats

type Stats struct {
	Query        *util.PullRequestQuery
	EarliestDate time.Time
	ReviewCounts map[string]int32

	ReviewCountsByPR map[string]map[int]int
	// contains filtered or unexported fields
}

func (*Stats) PRsForReviewer

func (s *Stats) PRsForReviewer(name string) []PRWithCount

func (*Stats) ProcessOne

func (s *Stats) ProcessOne(ctx context.Context, pr *github.PullRequest) error

func (*Stats) ReviewersInOrder

func (s *Stats) ReviewersInOrder() []string

Jump to

Keyboard shortcuts

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