Documentation ¶ Index ¶ type BoolProgram func NewBool(expression string) (BoolProgram, error) func (prog BoolProgram) Match(params map[string]interface{}) (bool, error) type Program func New(expression string) (Program, error) func (prog Program) Run(params map[string]interface{}) (interface{}, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type BoolProgram ¶ type BoolProgram struct { // contains filtered or unexported fields } func NewBool ¶ func NewBool(expression string) (BoolProgram, error) func (BoolProgram) Match ¶ func (prog BoolProgram) Match(params map[string]interface{}) (bool, error) type Program ¶ type Program struct { // contains filtered or unexported fields } func New ¶ func New(expression string) (Program, error) func (Program) Run ¶ func (prog Program) Run(params map[string]interface{}) (interface{}, error) Source Files ¶ View all Source files expr.go Click to show internal directories. Click to hide internal directories.