package
1.3.0
Repository: https://github.com/vulcand/predicate.git
Documentation: pkg.go.dev

# Functions

And returns && expression.
Contains returns contains function call expression.
Equals returns equals expression.
Identifier returns identifier expression.
Not returns ! expression.
Or returns || expression.
String returns string expression.

# Structs

AndExpr returns && expression.
ContainsExpr constructs function expression used in rules specifications that checks if one value contains the other, e.g.
EqualsExpr constructs function expression used in rules specifications that checks if one value is equal to another e.g.
NotExpr constructs function expression used in rules specifications that negates the result of the boolean predicate e.g.
OrExpr returns || expression.

# Interfaces

Expr is an expression builder, used to create expressions in rules definitions.

# Type aliases

IdentifierExpr is identifier expression.
StringExpr is a string expression.
StringsExpr is a slice of strings.