Documentation
¶
Index ¶
- Constants
- type Array
- type Boolean
- func (b Boolean) Contains(value interface{}) bool
- func (b Boolean) EndsWith(value interface{}) bool
- func (b Boolean) Equal(value interface{}) bool
- func (b Boolean) EqualSensitive(value interface{}) bool
- func (b Boolean) GreaterThan(value interface{}) bool
- func (b Boolean) GreaterThanEqual(value interface{}) bool
- func (b Boolean) In(value interface{}) bool
- func (b Boolean) LessThan(value interface{}) bool
- func (b Boolean) LessThanEqual(value interface{}) bool
- func (b Boolean) Match(value interface{}) bool
- func (b Boolean) StartsWith(value interface{}) bool
- type ErrorType
- type Integer
- func (n Integer) Contains(interface{}) bool
- func (n Integer) EndsWith(interface{}) bool
- func (n Integer) Equal(value interface{}) bool
- func (n Integer) EqualSensitive(interface{}) bool
- func (n Integer) GreaterThan(value interface{}) bool
- func (n Integer) GreaterThanEqual(value interface{}) bool
- func (n Integer) In(value interface{}) bool
- func (n Integer) LessThan(value interface{}) bool
- func (n Integer) LessThanEqual(value interface{}) bool
- func (n Integer) Match(interface{}) bool
- func (n Integer) StartsWith(interface{}) bool
- type JSON
- type Number
- func (n Number) Contains(value interface{}) bool
- func (n Number) EndsWith(value interface{}) bool
- func (n Number) Equal(value interface{}) bool
- func (n Number) EqualSensitive(value interface{}) bool
- func (n Number) GreaterThan(value interface{}) bool
- func (n Number) GreaterThanEqual(value interface{}) bool
- func (n Number) In(value interface{}) bool
- func (n Number) LessThan(value interface{}) bool
- func (n Number) LessThanEqual(value interface{}) bool
- func (n Number) Match(value interface{}) bool
- func (n Number) StartsWith(value interface{}) bool
- type String
- func (s String) Contains(value interface{}) bool
- func (s String) EndsWith(value interface{}) bool
- func (s String) Equal(value interface{}) bool
- func (s String) EqualSensitive(value interface{}) bool
- func (s String) GreaterThan(value interface{}) bool
- func (s String) GreaterThanEqual(value interface{}) bool
- func (s String) In(value interface{}) bool
- func (s String) LessThan(value interface{}) bool
- func (s String) LessThanEqual(value interface{}) bool
- func (s String) Match(value interface{}) bool
- func (s String) StartsWith(value interface{}) bool
- func (s String) String() string
- type ValueType
Constants ¶
const ( // ErrSdkCantBeEmpty represent error when no SDK key found in client api ErrSdkCantBeEmpty = ErrorType("Sdk can't be empty!") // ErrWrongTypeAssertion is custom error for wrong type assertions ErrWrongTypeAssertion = ErrorType("Wrong type assertion") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Boolean ¶
type Boolean bool
Boolean type for clause attribute evaluation
func NewBoolean ¶
NewBoolean creates a Boolean instance with the object value
func (Boolean) EqualSensitive ¶
EqualSensitive always return false
func (Boolean) GreaterThan ¶
GreaterThan always return false
func (Boolean) GreaterThanEqual ¶
GreaterThanEqual always return false
func (Boolean) LessThanEqual ¶
LessThanEqual always return false
func (Boolean) StartsWith ¶
StartsWith always return false
type Integer ¶
type Integer int64
Integer type for clause attribute evaluation
func NewInteger ¶
NewInteger creates a Integer instance with the object value
func (Integer) EqualSensitive ¶
EqualSensitive always return false
func (Integer) GreaterThan ¶
GreaterThan checks if the number is greater than the value
func (Integer) GreaterThanEqual ¶
GreaterThanEqual checks if the number is greater or equal than the value
func (Integer) LessThanEqual ¶
LessThanEqual checks if the number is less or equal than the value
func (Integer) StartsWith ¶
StartsWith always return false
type Number ¶
type Number float64
Number type for clause attribute evaluation
func (Number) EqualSensitive ¶
EqualSensitive always return false
func (Number) GreaterThan ¶
GreaterThan checks if the number is greater than the value
func (Number) GreaterThanEqual ¶
GreaterThanEqual checks if the number is greater or equal than the value
func (Number) LessThanEqual ¶
LessThanEqual checks if the number is less or equal than the value
func (Number) StartsWith ¶
StartsWith always return false
type String ¶
type String string
String type for clause attribute evaluation
func (String) EqualSensitive ¶
EqualSensitive check if the string and value are equal (case sensitive)
func (String) GreaterThan ¶
GreaterThan checks if the string is greater than the value
func (String) GreaterThanEqual ¶
GreaterThanEqual checks if the string is greater or equal than the value
func (String) LessThanEqual ¶
LessThanEqual checks if the string is less or equal than the value
func (String) StartsWith ¶
StartsWith check if the string starts with the value
type ValueType ¶
type ValueType interface {
StartsWith(value interface{}) bool
EndsWith(value interface{}) bool
Match(value interface{}) bool
Contains(value interface{}) bool
EqualSensitive(value interface{}) bool
Equal(value interface{}) bool
GreaterThan(value interface{}) bool
GreaterThanEqual(value interface{}) bool
LessThan(value interface{}) bool
LessThanEqual(value interface{}) bool
In(value interface{}) bool
}
ValueType interface used for different clause types