Documentation ¶
Index ¶
- func Builder(fields ...BuildField) string
- type BuildField
- type Filter
- func BoolParam(name string, opts ...ParamOption) *Filter
- func EnumParam(name string, values map[string]int32, opts ...ParamOption) *Filter
- func IDParam(name string, opts ...ParamOption) *Filter
- func StringParam(name string, opts ...ParamOption) *Filter
- func TimestampParam(name string, opts ...ParamOption) *Filter
- type Filters
- type Matcher
- type ParamOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Builder ¶
func Builder(fields ...BuildField) string
Types ¶
type BuildField ¶
type BuildField func() string
func And ¶
func And(fields ...BuildField) BuildField
func Eq ¶
func Eq(name string, value interface{}) BuildField
func Exists ¶ added in v0.3.0
func Exists(name string) BuildField
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
func BoolParam ¶
func BoolParam(name string, opts ...ParamOption) *Filter
func IDParam ¶
func IDParam(name string, opts ...ParamOption) *Filter
func StringParam ¶ added in v0.5.0
func StringParam(name string, opts ...ParamOption) *Filter
func TimestampParam ¶ added in v0.3.0
func TimestampParam(name string, opts ...ParamOption) *Filter
Click to show internal directories.
Click to hide internal directories.