query

package
v0.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrQueryHasNoFilters = errors.New("provided query contains no valid filters")

Functions

This section is empty.

Types

type Query

type Query struct {
	// contains filtered or unexported fields
}
var Blank Query

func MustNew added in v0.7.0

func MustNew(filters []filter.Filter) Query

func MustNewFromString added in v0.3.0

func MustNewFromString(query string) Query

func New

func New(filters []filter.Filter) (Query, error)

func NewFromString

func NewFromString(query string) (Query, error)

func (Query) Match

func (q Query) Match(fields any) bool

func (Query) String added in v0.3.0

func (q Query) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL