Registry / config / vulcand-predicate

vulcand-predicate

JSON →
library1.3.0gogounverified

Package predicate provides a mini-language interpreter for defining predicates with Go syntax, useful for configuration expressions.

go get github.com/vulcand/predicate
INSTALL
IMPORT
SIG · VULCAND-PREDICATE
V
vulcand-predicate
configgov1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

predicate
github.com/vulcand/predicate

Parses and evaluates a simple predicate expression.

package main import ( "fmt" "github.com/vulcand/predicate" ) func main() { parser, _ := predicate.NewParser(predicate.Def{ Operators: predicate.Operators{}, }) expr, _ := parser.Parse("1 == 1") result, _ := expr.Eval(nil) fmt.Println(result) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
33
OpenAI (training)
1
Resources
vulcand-predicate — go get vulcand-predicate · libregistry