expr

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Expr

type Expr struct{}

func (*Expr) Compile

func (*Expr) Compile(expression string) (Program, error)

func (*Expr) Match

func (*Expr) Match(expression string, params interface{}) (bool, error)

type Prog

type Prog struct {
	// contains filtered or unexported fields
}

func (*Prog) Run

func (prog *Prog) Run(params interface{}) (bool, error)

type Program

type Program interface {
	Run(params interface{}) (bool, error)
}

Jump to

Keyboard shortcuts

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