query

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 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 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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