Migrate Sirupsen to sirupsen.
This commit is contained in:
parent
c134dcd6fe
commit
fb4ba7af2b
684 changed files with 92394 additions and 33943 deletions
13
vendor/github.com/vulcand/predicate/predicate.go
generated
vendored
13
vendor/github.com/vulcand/predicate/predicate.go
generated
vendored
|
@ -48,8 +48,21 @@ type Def struct {
|
|||
Operators Operators
|
||||
// Function matching is case sensitive, e.g. Len is different from len
|
||||
Functions map[string]interface{}
|
||||
// GetIdentifier returns value of any identifier passed in
|
||||
// in the form []string{"id", "field", "subfield"}
|
||||
GetIdentifier GetIdentifierFn
|
||||
// GetProperty returns property from a map
|
||||
GetProperty GetPropertyFn
|
||||
}
|
||||
|
||||
// GetIdentifierFn function returns identifier based on selector
|
||||
// e.g. id.field.subfield will be passed as.
|
||||
// GetIdentifierFn([]string{"id", "field", "subfield"})
|
||||
type GetIdentifierFn func(selector []string) (interface{}, error)
|
||||
|
||||
// GetPropertyFn reuturns property from a mapVal by key keyVal
|
||||
type GetPropertyFn func(mapVal, keyVal interface{}) (interface{}, error)
|
||||
|
||||
// Operators contain functions for equality and logical comparison.
|
||||
type Operators struct {
|
||||
EQ interface{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue