filters

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: BSD-3-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter added in v0.0.2

type Filter interface {
	Key() string
	Value() string
}

func NewFindByIdFilter added in v0.0.3

func NewFindByIdFilter(key string, value string) (Filter, error)

func NewSearchFilter added in v0.0.3

func NewSearchFilter(key string, value string) (Filter, error)

type FindByIdFilter added in v0.0.2

type FindByIdFilter struct {
	Filter
	// contains filtered or unexported fields
}

func (*FindByIdFilter) Key added in v0.0.2

func (f *FindByIdFilter) Key() string

func (*FindByIdFilter) Value added in v0.0.2

func (f *FindByIdFilter) Value() string

type FindByIdFilters added in v0.0.2

type FindByIdFilters []Filter

func (*FindByIdFilters) Set added in v0.0.2

func (f *FindByIdFilters) Set(value string) error

func (*FindByIdFilters) String added in v0.0.2

func (f *FindByIdFilters) String() string

type SearchFilter

type SearchFilter struct {
	Filter
	// contains filtered or unexported fields
}

func (*SearchFilter) Key

func (f *SearchFilter) Key() string

func (*SearchFilter) Value

func (f *SearchFilter) Value() string

type SearchFilters

type SearchFilters []Filter

func (*SearchFilters) Set

func (f *SearchFilters) Set(value string) error

func (*SearchFilters) String

func (f *SearchFilters) String() string

Jump to

Keyboard shortcuts

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