Documentation
¶
Index ¶
- Variables
- type Custom
- type DateFilter
- type DateFilterOpts
- type Filter
- type FilterSet
- func (this FilterSet) ID() string
- func (this FilterSet) InputValues() []string
- func (this FilterSet) Inputs() []string
- func (this FilterSet) Label() string
- func (this *FilterSet) Populate(url.Values) error
- func (this FilterSet) Query(propIndex int) (string, []any)
- func (this FilterSet) TableName() string
- type Filters
- type HasProp
- func (this *HasProp) Hydrate(opts HasPropOpts) error
- func (this HasProp) ID() string
- func (this *HasProp) InputValues() []string
- func (this HasProp) Inputs() []string
- func (this HasProp) Label() string
- func (this *HasProp) Populate(url.Values) error
- func (this HasProp) Query(propIndex int) (string, []any)
- func (this HasProp) TableName() string
- type HasPropOpts
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorAlreadyHydrated = fmt.Errorf("Filter already hydrated. This is a once-only operation to reduce the risk of injection attacks.")
Functions ¶
This section is empty.
Types ¶
type Custom ¶
type Custom struct { Col string Values []string CustomID string CustomLabel string // contains filtered or unexported fields }
func (Custom) InputValues ¶ added in v0.0.15
type DateFilter ¶
type DateFilter struct {
// contains filtered or unexported fields
}
func (*DateFilter) Hydrate ¶
func (this *DateFilter) Hydrate(opts DateFilterOpts) error
type DateFilterOpts ¶
type FilterSet ¶
type FilterSet struct { Filters Filters CustomID string CustomLabel string IsAnd bool Values []string // contains filtered or unexported fields }
func (FilterSet) InputValues ¶ added in v0.0.15
type HasProp ¶
type HasProp struct {
// contains filtered or unexported fields
}
func (*HasProp) Hydrate ¶
func (this *HasProp) Hydrate(opts HasPropOpts) error
func (*HasProp) InputValues ¶ added in v0.0.15
func (this *HasProp) InputValues() []string
Click to show internal directories.
Click to hide internal directories.