Versions in this module Expand all Collapse all v1 v1.1.0 Sep 9, 2017 Changes in this version + var ErrUnknownField = errors.New("unknown field") + type FieldMatcher interface + MatchField func(v interface{}) (bool, error) + type Matcher interface + Match func(interface{}) (bool, error) + func And(matchers ...Matcher) Matcher + func Eq(field string, v interface{}) Matcher + func Gt(field string, v interface{}) Matcher + func Gte(field string, v interface{}) Matcher + func In(field string, v interface{}) Matcher + func Lt(field string, v interface{}) Matcher + func Lte(field string, v interface{}) Matcher + func NewFieldMatcher(field string, fm FieldMatcher) Matcher + func Not(matchers ...Matcher) Matcher + func Or(matchers ...Matcher) Matcher + func Re(field string, re string) Matcher + func StrictEq(field string, v interface{}) Matcher + func True() Matcher + type ValueMatcher interface + MatchValue func(*reflect.Value) (bool, error)