Versions in this module Expand all Collapse all v0 v0.3.1 Apr 22, 2021 v0.3.0 Apr 12, 2021 Changes in this version + var DefaultOps = OpsSet + func DottedRef(data interface{}, ref interface{}) interface + func IsDeepEqual(l, r interface{}) bool + func IsEqual(l, r interface{}) bool + func IsSoftEqual(l, r interface{}) bool + func IsTrue(i interface{}) bool + type Argument struct + Clause *Clause + Value interface{} + func (a *Argument) UnmarshalJSON(bs []byte) error + func (a Argument) MarshalJSON() ([]byte, error) + type Arguments []Argument + func (args *Arguments) UnmarshalJSON(bs []byte) error + type Clause struct + Arguments Arguments + Operator Operator + func (c *Clause) UnmarshalJSON(bs []byte) error + func (c Clause) MarshalJSON() ([]byte, error) + type ClauseFunc func(ctx context.Context, data interface{}) interface + func BuildArgFunc(arg Argument, ops OpsSet) (ClauseFunc, error) + func Compile(c *Clause) (ClauseFunc, error) + type Operator struct + Name string + type OpsSet map[string]func(args Arguments, ops OpsSet) (ClauseFunc, error) + func (ops OpsSet) Compile(c *Clause) (ClauseFunc, error)