Documentation ¶
Index ¶
- type Calculator
- type Filter
- type FormItem
- type FormSelectOption
- type History
- type Options
- type Parameters
- type Time
- type Type
- func (dt *Type) Decode(buf []byte, le bool, precision int) (val interface{}, err error)
- func (dt *Type) Default() interface{}
- func (dt *Type) Encode(value interface{}, le bool, precision int) []byte
- func (dt *Type) MarshalJSON() ([]byte, error)
- func (dt *Type) Normalize(val interface{}) interface{}
- func (dt *Type) Parse(tp string) error
- func (dt *Type) Size() int
- func (dt *Type) String() string
- func (dt *Type) UnmarshalJSON(buf []byte) error
- type Variables
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Calculator ¶ added in v4.0.11
type Filter ¶ added in v4.0.11
type FormItem ¶ added in v4.0.18
type FormItem struct { Key string `json:"key"` Label string `json:"label"` Type string `json:"type,omitempty"` //type object array Default any `json:"default,omitempty"` Placeholder string `json:"placeholder,omitempty"` Tips string `json:"tips,omitempty"` Pattern string `json:"pattern,omitempty"` Options []FormSelectOption `json:"options,omitempty"` Required bool `json:"required,omitempty"` Min float64 `json:"min,omitempty"` Max float64 `json:"max,omitempty"` Step float64 `json:"step,omitempty"` Children []FormItem `json:"children,omitempty"` //子级? }
type FormSelectOption ¶ added in v4.0.18
type Parameters ¶
Click to show internal directories.
Click to hide internal directories.