Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllowedOperands = []string{"<", "<=", "=", ">=", ">"}
AllowedOperands ...
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter interface { Build() (interface{}, error) AddCondition(condition FilterCondition) error }
type FilterCondition ¶
func NewFilterCondition ¶
func NewFilterCondition(field, operand, value string) *FilterCondition
func NewFilterConditionFromQuery ¶
func NewFilterConditionFromQuery(query string) (*FilterCondition, error)
Click to show internal directories.
Click to hide internal directories.