Documentation ¶
Index ¶
- type Filter
- func NewBoolFilter() Filter
- func NewFloatFilter() Filter
- func NewIntFilter() Filter
- func NewNicknameFilter() Filter
- func NewSlugFilter(opts ...SlugOption) Filter
- func NewStringToLowerFilter() Filter
- func NewStringToUpperFilter() Filter
- func NewStringTrimFilter() Filter
- func NewURLFilter(opts ...URLOption) Filter
- type InputFilter
- type InputValue
- type SlugOption
- type URLOption
- type Value
- type ValuesFilter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
Filter interface.
func NewStringToLowerFilter ¶
func NewStringToLowerFilter() Filter
NewStringToLowerFilter constructor.
func NewStringToUpperFilter ¶
func NewStringToUpperFilter() Filter
NewStringToUpperFilter constructor.
type InputFilter ¶
InputFilter interface.
func NewInputFilter ¶
func NewInputFilter(filters map[string][]Filter) InputFilter
NewInputFilter constructor.
type SlugOption ¶
type SlugOption func(*slugFilter)
SlugOption type.
func SlugLanguage ¶
func SlugLanguage(language string) SlugOption
SlugLanguage config language for SlugFilter.
type URLOption ¶
type URLOption func(*urlFilter)
URLOption type.
func URLStripUTMParameters ¶
func URLStripUTMParameters() URLOption
URLStripUTMParameters remove all utm_* query parameters.
type ValuesFilter ¶
ValuesFilter interface.
func NewValuesFilter ¶
func NewValuesFilter(filters map[string][]Filter) ValuesFilter
NewValuesFilter constructor.
Click to show internal directories.
Click to hide internal directories.