filter

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EqFilter

type EqFilter struct {
	// contains filtered or unexported fields
}

func Eq

func Eq(field string) EqFilter

func (EqFilter) Filter

func (ef EqFilter) Filter()

func (EqFilter) GetField

func (ef EqFilter) GetField() string

func (EqFilter) IsOptional

func (ef EqFilter) IsOptional() bool

func (EqFilter) Optional

func (ef EqFilter) Optional() EqFilter

type Filter

type Filter interface {
	Filter()
	GetField() string
	IsOptional() bool
}

type RangeFilter

type RangeFilter struct {
	// contains filtered or unexported fields
}

func Range

func Range(field string) RangeFilter

func (RangeFilter) Filter

func (rf RangeFilter) Filter()

func (RangeFilter) GetField

func (rf RangeFilter) GetField() string

func (RangeFilter) IsOptional

func (rf RangeFilter) IsOptional() bool

func (RangeFilter) Optional

func (rf RangeFilter) Optional() RangeFilter

type SearchFilter

type SearchFilter struct {
	// contains filtered or unexported fields
}
func Search(field string) SearchFilter

func (SearchFilter) Filter

func (sf SearchFilter) Filter()

func (SearchFilter) GetField

func (sf SearchFilter) GetField() string

func (SearchFilter) IsOptional

func (sf SearchFilter) IsOptional() bool

func (SearchFilter) Optional

func (sf SearchFilter) Optional() SearchFilter

Jump to

Keyboard shortcuts

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