expr

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 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