Help us shape the future of Go! Take the 2026 Go Developer Survey

gh

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Github

type Github struct {
	Client *github.Client
}

func (*Github) GetPullRequests

func (g *Github) GetPullRequests(prn cfg.PrNotification) ([]*github.PullRequest, error)

GetPullRequests returns pull requests for a given PR notification object

func (*Github) Init

func (g *Github) Init() error

Init initializes GH client

func (*Github) LogUserInfo added in v0.0.2

func (g *Github) LogUserInfo(githubLogin string)

LogUserInfo for debugging GH users

func (*Github) MatchesConditions added in v0.0.2

func (g *Github) MatchesConditions(pr *github.PullRequest, prn cfg.PrNotification) bool

MatchesConditions checks if a PR matches the conditions defined in the config

Jump to

Keyboard shortcuts

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