Versions in this module Expand all Collapse all v0 v0.2.0 Nov 4, 2021 Changes in this version + type Engine struct + func New(policyFile string, module []byte) *Engine + func (e *Engine) Compile(ctx context.Context, query string, input interface{}, unknowns ...string) (Result, error) + type Expr struct + Left *Operand + Operator Operator + Right *Operand + type Operand struct + T OperandType + V interface{} + type OperandType int + const OperandTypeConstant + const OperandTypeIndexField + func (vt OperandType) String() string + type Operator int + const OperatorEq + func (op Operator) String() string + type Result struct + Defined bool + Exprs []*Expr