search

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindOpenPR

func FindOpenPR(ctx context.Context, client *github.Client, owner, repositoryName string, parameters ...Parameter) ([]*github.Issue, error)

FindOpenPR search and find open Pull Requests.

func NoOp

func NoOp() string

NoOp No operation parameter.

func WithReview

func WithReview() string

WithReview add a search filter by PR with review.

func WithReviewApproved

func WithReviewApproved() string

WithReviewApproved add a search filter by review approved.

func WithReviewNone

func WithReviewNone() string

WithReviewNone add a search filter by PR with none review.

Types

type Parameter

type Parameter func() string

Parameter search parameter.

func Cond

func Cond(apply bool, parameters ...Parameter) Parameter

Cond apply conditionally some parameters.

func WithExcludedLabels

func WithExcludedLabels(labels ...string) Parameter

WithExcludedLabels add a search filter by unwanted labels.

func WithLabels

func WithLabels(labels ...string) Parameter

WithLabels add a search filter by labels.

Jump to

Keyboard shortcuts

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