gh

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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"`
}

Jump to

Keyboard shortcuts

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