Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
var MatchEverything Matcher = MatcherFunc(func(s string) bool { return true })
MatchEverything returns a matcher that matches everything.
func Glob ¶ added in v0.7.0
Glob returns a matcher that matches if all given glob patterns matches the given string. A pattern can be negated with a leading !.
type MatcherFunc ¶ added in v0.7.0
func (MatcherFunc) Match ¶ added in v0.7.0
func (m MatcherFunc) Match(s string) bool
Click to show internal directories.
Click to hide internal directories.