Documentation

Index

Constants

View Source
const Name = "length"

Variables

This section is empty.

Functions

func LengthFilterConstructor

func LengthFilterConstructor(config map[string]interface{}, cache *registry.Cache) (analysis.TokenFilter, error)

Types

type LengthFilter

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

func NewLengthFilter

func NewLengthFilter(min, max int) *LengthFilter

func (*LengthFilter) Filter

Source Files