search

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: Apache-2.0 Imports: 5 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, debug bool, parameters ...Parameter) ([]*github.Issue, error)

FindOpenPR find open PR.

func NoOp

func NoOp() string

NoOp No operation parameter.

func WithReviewApproved

func WithReviewApproved() string

WithReviewApproved add a search filter by review approved.

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