boolevator

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInternal = errors.New("internal boolevator error")

Functions

func EnsureFullMultilineMatch added in v0.28.2

func EnsureFullMultilineMatch(r string) string

Types

type Boolevator added in v0.11.0

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

func New added in v0.11.0

func New(opts ...Option) *Boolevator

func (*Boolevator) Eval added in v0.11.0

func (boolevator *Boolevator) Eval(expr string, env map[string]string) (bool, error)

type Function

type Function func(arguments ...interface{}) interface{}

type Option added in v0.11.0

type Option func(*Boolevator)

func WithFunctions added in v0.11.0

func WithFunctions(functions map[string]Function) Option

Jump to

Keyboard shortcuts

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