Registry / utility / casbin-govaluate

casbin-govaluate

JSON →
library1.10.0gogounverified

Govaluate is a lightweight expression evaluator for Go, allowing dynamic evaluation of simple arithmetic, logical, and string expressions.

go get github.com/casbin/govaluate
INSTALL
IMPORT
SIG · CASBIN-GOVALUATE
C
casbin-govaluate
utilitygov1.10.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.

govaluate
github.com/casbin/govaluate

Evaluates a simple arithmetic expression.

package main import ( "fmt" "github.com/casbin/govaluate" ) func main() { expr, _ := govaluate.NewEvaluableExpression("1 + 2") result, _ := expr.Evaluate(nil) fmt.Println(result) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
casbin-govaluate — go get casbin-govaluate · libregistry