Documentation
¶
Index ¶
Constants ¶
View Source
const ( Text = "text" Number = "number" Select = "select" Boolean = "boolean" Date = "date" )
Variables ¶
View Source
var ( TextOperation = []string{ "is", "is_not", "contains", "does_not_contain", "star_with", "end_with", "is_empty", "is_not_empty", } NumberOperation = []string{ "is", "is_not", "is_equal", "is_not_equal", "is_greater_than", "is_less_than", "is_greater_than_or_equal", "is_less_than_or_equal", "is_empty", "is_not_empty", } SelectOperation = []string{ "is", "is_not", "is_empty", "is_not_empty", } BooleanOperation = []string{ "is", "is_empty", "is_not_empty", } DateOperation = []string{ "is", "is_before", "is_after", "is_on_or_before", "is_on_or_after", "is_between", "is_empty", "is_not_empty", } )
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct {
// contains filtered or unexported fields
}
func (*Build) ToExpression ¶
func (b *Build) ToExpression() (exps []exp.Expression)
type BuildBool ¶
type BuildBool struct {
// contains filtered or unexported fields
}
func (*BuildBool) Build ¶
func (b *BuildBool) Build() exp.Expression
type BuildDate ¶
type BuildDate struct {
// contains filtered or unexported fields
}
func (*BuildDate) Build ¶
func (b *BuildDate) Build() exp.Expression
type BuildNumber ¶
type BuildNumber struct {
// contains filtered or unexported fields
}
func (*BuildNumber) Build ¶
func (b *BuildNumber) Build() exp.Expression
type BuildSelect ¶
type BuildSelect struct {
// contains filtered or unexported fields
}
func (*BuildSelect) Build ¶
func (b *BuildSelect) Build() exp.Expression
type BuildText ¶
type BuildText struct {
// contains filtered or unexported fields
}
func (*BuildText) Build ¶
func (b *BuildText) Build() exp.Expression
type Builder ¶
type Builder interface {
Build() exp.Expression
}
func NewBuildBool ¶
func NewBuildDate ¶
func NewBuildNumber ¶
func NewBuildSelect ¶
func NewBuildText ¶
type Config ¶
type Config struct {
Column string `json:"column"`
Label string `json:"label"`
Field string `json:"field"`
Type string `json:"type"`
Description string `json:"description"`
Suggestion bool `json:"suggestion"`
Disabled bool `json:"disabled"`
DefaultValues []DefaultValue `json:"default_values"`
Operations []string `json:"operations"`
}
type DefaultValue ¶
Click to show internal directories.
Click to hide internal directories.