Versions in this module Expand all Collapse all v1 v1.0.1 Apr 12, 2024 v1.0.0 Apr 11, 2024 Changes in this version + type AndCondition struct + Left Condition + Right Condition + func NewAndCondition(left, right Condition) *AndCondition + type Condition interface + func Parse(query string) (rq Condition, err error) + type FieldableCondition interface + GetField func() string + SetField func(field string) + type MatchCondition struct + Field string + Value string + func NewMatchCondition(s string) *MatchCondition + func (q *MatchCondition) GetField() string + func (q *MatchCondition) SetField(field string) + type NotCondition struct + Condition Condition + func NewNotCondition(q Condition) *NotCondition + type NumberRangeCondition struct + End *int64 + Field string + IncludeEnd bool + IncludeStart bool + Start *int64 + func MustNewNumberRangeCondition(start *string, end *string, includeStart, includeEnd bool) *NumberRangeCondition + func (q *NumberRangeCondition) GetField() string + func (q *NumberRangeCondition) SetField(field string) + type OrCondition struct + Left Condition + Right Condition + func NewOrCondition(left, right Condition) *OrCondition + type RegexpCondition struct + Field string + Value *regexp.Regexp + func MustNewRegexpCondition(s string) *RegexpCondition + func NewRegexpCondition(s string) (*RegexpCondition, error) + func (q *RegexpCondition) GetField() string + func (q *RegexpCondition) SetField(field string) + type TimeRangeCondition struct + End *string + Field string + IncludeEnd bool + IncludeStart bool + Start *string + func NewTimeRangeCondition(start, end *string, includeStart, includeEnd bool) *TimeRangeCondition + func (q *TimeRangeCondition) GetField() string + func (q *TimeRangeCondition) SetField(field string) + type WildcardCondition struct + Field string + Value glob.Glob + func MustNewWildcardCondition(s string) *WildcardCondition + func NewWildcardCondition(s string) (*WildcardCondition, error) + func (q *WildcardCondition) GetField() string + func (q *WildcardCondition) SetField(field string)