cellib

package
v0.9.1-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Library

func Library() cel.EnvOption

Types

type Expression

type Expression struct {
	Value   string `mapstructure:"expression"`
	Message string `mapstructure:"message"`
	// contains filtered or unexported fields
}

func (*Expression) Compile

func (e *Expression) Compile(env *cel.Env) error

func (*Expression) Eval

func (e *Expression) Eval(obj any) (bool, error)

Jump to

Keyboard shortcuts

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