expr

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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