Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFieldNotFound = errors.New("Field not found")
ErrFieldNotFound error field not found
Functions ¶
This section is empty.
Types ¶
type BoolPredicate ¶
BoolPredicate is a function that applies a test against a boolean
type Getter ¶
type Getter interface { GetField(field string) (interface{}, error) GetFieldKeys() []string GetFieldBool(field string) (bool, error) GetFieldInt64(field string) (int64, error) GetFieldString(field string) (string, error) MatchBool(field string, predicate BoolPredicate) bool MatchInt64(field string, predicate Int64Predicate) bool MatchString(field string, predicate StringPredicate) bool }
Getter describes filter getter fields
type Int64Predicate ¶
Int64Predicate is a function that applies a test against an integer
type StringPredicate ¶
StringPredicate is a function that applies a test against a string
Click to show internal directories.
Click to hide internal directories.