Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Criterion ¶
type Criterion struct {
*Predicate
LeftOperand interface{}
Operator string
RightOperand interface{}
}
Criterion represent evaluation criterion
func NewCriterion ¶
NewCriterion creates a new criterion
type EvalEvent ¶
type EvalEvent struct {
Type string
Default bool
Evaluation bool
Criteria string
ExpandedCriteria string
Error string
}
EvalEvent represents criteria event
type Predicate ¶
Predicate represents logical criteria
func NewPredicate ¶
NewPredicate creates a new criteria for supplied logical operator and criteria
Click to show internal directories.
Click to hide internal directories.