issues

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Selector

type Selector struct {
	Repo      string
	Labels    string
	State     string
	Since     time.Duration
	Limit     int
	IssueList string
}

func (Selector) Iterator

func (l Selector) Iterator(ctx context.Context, client api.Client, now time.Time) SelectorIterator

func (Selector) Validate

func (l Selector) Validate() error

type SelectorIterator

type SelectorIterator interface {
	Next() (*api.Issue, error)
}

type SelectorIteratorFunc

type SelectorIteratorFunc func() (*api.Issue, error)

func (SelectorIteratorFunc) Next

func (f SelectorIteratorFunc) Next() (*api.Issue, error)

Jump to

Keyboard shortcuts

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