package
2.1.2+incompatible
Repository: https://github.com/josler/storm.git
Documentation: pkg.go.dev

# Functions

And matcher, checks if all of the given matchers matches the record.
Eq matcher, checks if the given field is equal to the given value.
EqF matcher, checks if the given field is equal to the given field.
Gt matcher, checks if the given field is greater than the given value.
Gte matcher, checks if the given field is greater than or equal to the given value.
GteF matcher, checks if the given field is greater than or equal to the given field.
GtF matcher, checks if the given field is greater than the given field.
In matcher, checks if the given field matches one of the value of the given slice.
Lt matcher, checks if the given field is lesser than the given value.
Lte matcher, checks if the given field is lesser than or equal to the given value.
LteF matcher, checks if the given field is lesser than or equal to the given field.
LtF matcher, checks if the given field is lesser than the given field.
NewField2FieldMatcher creates a Matcher for a given field1 and field2.
NewFieldMatcher creates a Matcher for a given field.
Not matcher, checks if all of the given matchers return false.
Or matcher, checks if at least one of the given matchers matches the record.
Re creates a regexp matcher.
StrictEq matcher, checks if the given field is deeply equal to the given value.
True matcher, always returns true.

# Variables

ErrUnknownField is returned when an unknown field is passed.

# Interfaces

FieldMatcher can be used in NewFieldMatcher as a simple way to create the most common Matcher: A Matcher that evaluates one field's value.
A Matcher is used to test against a record to see if it matches.
A ValueMatcher is used to test against a reflect.Value.