filter

package
v0.0.0-...-6d74526 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2017 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter interface {
	SetInput(input string)
	Run(ctx context.Context) error
	Len() int
	Each(fn func(item string) bool)
}

Filter is a filter to select entries.

func New

func New() Filter

New creates a new Filter to filter input.

Jump to

Keyboard shortcuts

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