matchers

package
v96.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

type Matcher interface {
	Match([]byte) (bool, int, int)
}

func Filter

func Filter(submatcher Matcher, filters ...string) Matcher

func Format

func Format(format string) Matcher

func NewNullMatcher

func NewNullMatcher() Matcher

func Substring

func Substring(s string) Matcher

func TryFormat

func TryFormat(format string) (Matcher, error)

func UpcasedMulti

func UpcasedMulti(matchers ...Matcher) Matcher

func UpcasedMultiMatcherFromReader

func UpcasedMultiMatcherFromReader(rd io.Reader) Matcher

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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