filter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilterer

func NewFilterer(filter Filter, path string, loadFunc LoadFunc) (*filterer, error)

Types

type ErrAmbiguous

type ErrAmbiguous struct {
	// contains filtered or unexported fields
}

func NewErrAmbiguous

func NewErrAmbiguous(matches []*match) *ErrAmbiguous

func (*ErrAmbiguous) Error

func (e *ErrAmbiguous) Error() string

type ErrNonexistent

type ErrNonexistent struct{}

func NewErrNonexistent

func NewErrNonexistent() *ErrNonexistent

func (*ErrNonexistent) Error

func (e *ErrNonexistent) Error() string

type Filter

type Filter interface {
	Filter(Filterable) ([]string, error)
}

type Filterable

type Filterable interface{}

type LoadFunc

type LoadFunc func(string) (Filterable, error)

Jump to

Keyboard shortcuts

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