conditionparser

package
v2.3.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidOp      = errors.New("invalid operation")
	ErrFieldNotFound  = errors.New("field not found")
	ErrOutOfIndex     = errors.New("out of index")
	ErrFuncArgument   = errors.New("invalid function arguments")
	ErrMethodNotFound = errors.New("method not found")
)

Functions

func Eval

func Eval(exprStr string, input interface{}) (bool, error)

func IsValid

func IsValid(exprStr string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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