Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Definitions map[Type]Def
Definitions contains data for known definitions
Functions ¶
Types ¶
type Type ¶
type Type byte
Type describes matcher type and uses primarily in rules
const ( Unknown Type = 0 IsNil Type = 1 // Alias IsNull Type = 1 NotIsNil Type = 2 // Alias NotIsNull Type = 2 IsNotNull Type = 2 // Alias IsNotNil Type = 2 // Alias Eq Type = 3 // Alias Equals Type = 3 Neq Type = 4 // Alias NotEquals Type = 4 In Type = 5 NotIn Type = 6 Gt Type = 7 // Alias GreaterThan Type = 7 Lte Type = 8 // Alias LesserThanEquals Type = 8 // Alias LowerThanEquals Type = 8 Gte Type = 9 // Alias GreaterThanEquals Type = 9 Lt Type = 10 // Alias LesserThan Type = 10 // Alias LowerThan Type = 10 Contains Type = 11 Like Type = 11 // Alias )
List of supported rule operations
func All ¶
func All() []Type
All returns full list of rule operations, except Unknown Used in tests primarily
func (Type) IsStandard ¶
IsStandard returns true if operation is in standard operations pool
Click to show internal directories.
Click to hide internal directories.