expr

package
v0.0.0-...-8ff3c68 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolExpr

type BoolExpr[K any] interface {
	Eval(ctx context.Context, tCtx K) (bool, error)
}

BoolExpr is an interface that allows matching a context K against a configuration of a match.

func Not

func Not[K any](matcher BoolExpr[K]) BoolExpr[K]

func Or

func Or[K any](matchers ...BoolExpr[K]) BoolExpr[K]

Jump to

Keyboard shortcuts

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