Documentation
¶
Index ¶
Constants ¶
View Source
const ( SystemProvide = 1 WechatProvide = 2 )
Variables ¶
This section is empty.
Functions ¶
func GenerateAutoTitle ¶ added in v1.9.0
func GenerateCCTitle ¶ added in v1.8.0
func GenerateTitle ¶
Types ¶
type Field ¶ added in v1.10.0
type FieldProcessor ¶ added in v1.9.0
type FieldProcessor struct {
// contains filtered or unexported fields
}
type Options ¶ added in v1.9.0
type Options struct {
Label string `json:"label"`
Value interface{} `json:"value"`
}
type Rule ¶
type Rule struct {
Type string `json:"type"`
Field string `json:"field"`
Title string `json:"title"`
Style map[string]interface{} `json:"style"`
Children []Rule `json:"children"`
Options []Options `json:"options"`
}
func FlattenRules ¶ added in v1.9.0
FlattenRules 扁平化处理函数,排除 type 为 "col" 和 "fcRow" 的规则本身,但保留它们的子规则
Click to show internal directories.
Click to hide internal directories.