expression

package
v1.0.230 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eval

func Eval[T any](log *zap.Logger, exp string, vars map[string]interface{}) (retval T, reterr error)

func EvalAny added in v0.1.175

func EvalAny(log *zap.Logger, exp string, vars map[string]interface{}) (retval interface{}, reterr error)

func GetVariables added in v0.1.175

func GetVariables(exp string) (map[string]struct{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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