Documentation ¶ Index ¶ type GH func New(organization string) (*GH, error) func (g *GH) GetPRs(ctx context.Context, cutoff time.Time, repos []string, cfg *config.Config) []PR func (g *GH) GetRepos(ctx context.Context, cfg *config.Config) ([]string, error) type PR Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type GH ¶ type GH struct { // contains filtered or unexported fields } func New ¶ func New(organization string) (*GH, error) func (*GH) GetPRs ¶ func (g *GH) GetPRs(ctx context.Context, cutoff time.Time, repos []string, cfg *config.Config) []PR func (*GH) GetRepos ¶ func (g *GH) GetRepos(ctx context.Context, cfg *config.Config) ([]string, error) type PR ¶ type PR struct { Author string `csv:"author"` TimeToMerge time.Duration `csv:"time_to_merge_duration"` Repo string `csv:"repo"` Number int `csv:"number"` Reviews string `csv:"reviews"` } Source Files ¶ View all Source files gh.goprs.gorepos.go Click to show internal directories. Click to hide internal directories.