{"id":62952,"library":"vulcand-predicate","title":"predicate","description":"Package predicate provides a mini-language interpreter for defining predicates with Go syntax, useful for configuration expressions.","status":"active","version":"1.3.0","language":"go","source_language":null,"source_url":"https://github.com/vulcand/predicate","tags":["predicate","expression","parser","configuration"],"install":[{"cmd":"go get github.com/vulcand/predicate","lang":"bash","label":"Install github.com/vulcand/predicate"}],"dependencies":[],"imports":[{"symbol":"predicate","correct":"github.com/vulcand/predicate"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/vulcand/predicate\"\n)\n\nfunc main() {\n\tparser, _ := predicate.NewParser(predicate.Def{\n\t\tOperators: predicate.Operators{},\n\t})\n\texpr, _ := parser.Parse(\"1 == 1\")\n\tresult, _ := expr.Eval(nil)\n\tfmt.Println(result)\n}","lang":"go","description":"Parses and evaluates a simple predicate expression."},"warnings":[],"env_vars":null,"search_vec":"'configur':18,23 'defin':11 'express':19,21 'go':14 'interpret':9 'languag':8 'mini':7 'mini-languag':6 'packag':2 'parser':22 'predic':1,3,12,20 'provid':4 'syntax':15 'use':16","created_at":"2026-06-17T16:37:59.451584+00:00","updated_at":"2026-06-17T16:37:59.451584+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/vulcand/predicate","github":"https://github.com/vulcand/predicate","docs":"https://pkg.go.dev/github.com/vulcand/predicate#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["config","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}