Versions in this module Expand all Collapse all v0 v0.0.2 May 13, 2020 v0.0.1 May 13, 2020 Changes in this version + type Condition struct + Op Operator + Operand interface{} + Tag string + type Empty struct + func (Empty) Matches(tags pubsub.TagMap) bool + func (Empty) String() string + type Operator uint8 + const OpContains + const OpEqual + const OpGreater + const OpGreaterEqual + const OpLess + const OpLessEqual + type Query struct + func MustParse(s string) *Query + func New(s string) (*Query, error) + func (q *Query) Conditions() []Condition + func (q *Query) Matches(tags pubsub.TagMap) bool + func (q *Query) String() string + type QueryParser struct + Buffer string + Pretty bool + func (p *QueryParser) Init() + func (p *QueryParser) Parse(rule ...int) error + func (p *QueryParser) PrintSyntaxTree() + func (p *QueryParser) Reset() + func (t *QueryParser) AST() *node32 + func (t *QueryParser) Add(rule pegRule, begin, end, index uint32) + func (t *QueryParser) PrettyPrintSyntaxTree(buffer string) + func (t *QueryParser) Print() + func (t *QueryParser) Tokens() []token32 + func (t *QueryParser) Trim(length uint32)