Documentation ¶ Index ¶ Variables func Evaluate(expression string, input string) (bool, error) Constants ¶ This section is empty. Variables ¶ View Source var ErrorIncompatible = errors.New("incompatible comparison types") Functions ¶ func Evaluate ¶ func Evaluate(expression string, input string) (bool, error) Evaluate takes in an IDQL expression, parses it, and then compares against the input provided. 'input' is a JSON structure containing data provided by the client using OpaTools.PrepareInput Types ¶ This section is empty. Source Files ¶ View all Source files evaluator.go Click to show internal directories. Click to hide internal directories.