Versions in this module Expand all Collapse all v0 v0.1.0 Jun 23, 2020 Changes in this version + var ErrInvalidResult = errors.New("invalid result type") + var ErrLeftOverText = errors.New("left over text") + var ErrNilInput = errors.New("nil input") + var ErrNotFound = errors.New("neither function not variable found") + var ErrUnexpectedEnd = errors.New("unexpected end") + var ErrUnmatchedParenthesis = errors.New("unmatched parenthesis") + func Eval(expr string, params Params) (interface{}, error) + func EvalBool(expr string, params Params) (bool, error) + type Expression struct + func New(expr string) (Expression, error) + func (e Expression) Eval(params Params) (interface{}, error) + func (e Expression) EvalBool(params Params) (bool, error) + func (e Expression) Properties() []string + type MapParams map[string]interface + func (p MapParams) Get(name string) (interface{}, error) + type Params interface + Get func(name string) (interface{}, error)