Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
Matcher is returned by NewMatcher and contains a list of blices to match against
func NewMatcher ¶
NewMatcher creates a new Matcher used to match against a set of blices
func NewStringMatcher ¶
NewStringMatcher creates a new Matcher used to match against a set of strings (this is a helper to make initialization easy)
func (*Matcher) Contains ¶
This returns true if any string matches. It can be faster if you do not need to know which words matched.
func (*Matcher) ContainsStr ¶
The same as Contains but takes in a string as a parameter.
Click to show internal directories.
Click to hide internal directories.