Documentation
¶
Index ¶
- type A
- type Expression
- func Contain(leftValue string, rightValue interface{}) *Expression
- func Empty(leftValue string, rightValue interface{}) *Expression
- func Eq(leftValue string, rightValue interface{}) *Expression
- func Gt(leftValue string, rightValue interface{}) *Expression
- func Gte(leftValue string, rightValue interface{}) *Expression
- func HasAnyOf(leftValue string, rightValue interface{}) *Expression
- func HasNoneOf(leftValue string, rightValue interface{}) *Expression
- func In(leftValue string, rightValue interface{}) *Expression
- func Lt(leftValue string, rightValue interface{}) *Expression
- func Lte(leftValue string, rightValue interface{}) *Expression
- func Neq(leftValue string, rightValue interface{}) *Expression
- func NewExpression(leftValue string, operator string, rightValue interface{}) *Expression
- func NotContain(leftValue string, rightValue interface{}) *Expression
- func NotEmpty(leftValue string, rightValue interface{}) *Expression
- func NotIn(leftValue string, rightValue interface{}) *Expression
- type Logic
- type M
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expression ¶
type Expression struct { LeftValue string `json:"leftValue"` Operator string `json:"operator"` RightValue interface{} `json:"rightValue"` }
func Contain ¶
func Contain(leftValue string, rightValue interface{}) *Expression
func Empty ¶
func Empty(leftValue string, rightValue interface{}) *Expression
func Eq ¶
func Eq(leftValue string, rightValue interface{}) *Expression
func Gt ¶
func Gt(leftValue string, rightValue interface{}) *Expression
func Gte ¶
func Gte(leftValue string, rightValue interface{}) *Expression
func HasAnyOf ¶
func HasAnyOf(leftValue string, rightValue interface{}) *Expression
func HasNoneOf ¶
func HasNoneOf(leftValue string, rightValue interface{}) *Expression
func In ¶
func In(leftValue string, rightValue interface{}) *Expression
func Lt ¶
func Lt(leftValue string, rightValue interface{}) *Expression
func Lte ¶
func Lte(leftValue string, rightValue interface{}) *Expression
func Neq ¶
func Neq(leftValue string, rightValue interface{}) *Expression
func NewExpression ¶
func NewExpression(leftValue string, operator string, rightValue interface{}) *Expression
func NotContain ¶
func NotContain(leftValue string, rightValue interface{}) *Expression
func NotEmpty ¶
func NotEmpty(leftValue string, rightValue interface{}) *Expression
func NotIn ¶
func NotIn(leftValue string, rightValue interface{}) *Expression
type Logic ¶
type Logic struct { Type string Expressions []*Expression Logics []*Logic }
func NewAndLogic ¶
func NewAndLogic(expressions []*Expression, logics []*Logic) *Logic
func NewOrLogic ¶
func NewOrLogic(expressions []*Expression, logics []*Logic) *Logic
Click to show internal directories.
Click to hide internal directories.