evaluator

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrExperssionParameterNotFound = errors.New("parameter not found")

Functions

This section is empty.

Types

type ExprParam

type ExprParam map[string]interface{}

func (ExprParam) Split

func (m ExprParam) Split(s, sep string) []string

type Expression

type Expression string

func (Expression) EvaluateWithStruct

func (e Expression) EvaluateWithStruct(item interface{}) (interface{}, error)

func (Expression) EvaluateWithVars

func (e Expression) EvaluateWithVars(params map[string]interface{}) (interface{}, error)

func (Expression) String

func (e Expression) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL