| 1 |
Source: golang-github-casbin-govaluate |
| 2 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 3 |
Uploaders: Mathias Gibbens <[email protected]> |
| 4 |
Section: golang |
| 5 |
Testsuite: autopkgtest-pkg-go |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
dh-golang, |
| 9 |
golang-any |
| 10 |
Standards-Version: 4.7.2 |
| 11 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-casbin-govaluate |
| 12 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-casbin-govaluate.git |
| 13 |
Homepage: https://github.com/casbin/govaluate |
| 14 |
Rules-Requires-Root: no |
| 15 |
XS-Go-Import-Path: github.com/casbin/govaluate |
| 16 |
|
| 17 |
Package: golang-github-casbin-govaluate-dev |
| 18 |
Architecture: all |
| 19 |
Multi-Arch: foreign |
| 20 |
Depends: ${misc:Depends} |
| 21 |
Description: Arbitrary expression evaluation for golang (library) |
| 22 |
Provides support for evaluating arbitrary C-like artithmetic/string |
| 23 |
expressions. |
| 24 |
. |
| 25 |
Sometimes, you can't know ahead-of-time what an expression will look |
| 26 |
like, or you want those expressions to be configurable. Perhaps |
| 27 |
you've got a set of data running through your application, and you |
| 28 |
want to allow your users to specify some validations to run on it |
| 29 |
before committing it to a database. Or maybe you've written a |
| 30 |
monitoring framework which is capable of gathering a bunch of |
| 31 |
metrics, when evaluating a few expressions to see if any metrics |
| 32 |
should be alerted upon, but the conditions for alerting are different |
| 33 |
for each monitor. |
| 34 |
. |
| 35 |
A lot of people wind up writing their own half-baked style of |
| 36 |
evaluation language that fits their needs, but isn't complete. Or they |
| 37 |
wind up baking the expression into the actual executable, even if |
| 38 |
they know it's subject to change. These strategies may work, but they |
| 39 |
take time to implement, time for users to learn, and induce technical |
| 40 |
debt as requirements change. This library is meant to cover all the |
| 41 |
normal C-like expressions, so that you don't have to reinvent one of |
| 42 |
the oldest wheels on a computer. |
| 43 |
. |
| 44 |
This is a fork of github.com/Knetic/govaluate, maintained by Casbin. |