Documentation ¶
Index ¶
- type DatetimeFieldOptions
- type DatetimeInputOptions
- type Field
- func NewDatetimeField(name string, opts *DatetimeFieldOptions) Field
- func NewNumberField(name string, opts *NumberFieldOptions) Field
- func NewReferenceField(name string, resourceName string, opts *ReferenceFieldOptions) Field
- func NewReferenceListField(name string, resourceName string, opts *ReferenceListFieldOptions) Field
- func NewSelectField(name string, opts *SelectFieldOptions) Field
- func NewTextField(name string, opts *TextFieldOptions) Field
- type FieldOptions
- type Input
- func NewDatetimeInput(name string, opts *DatetimeInputOptions) Input
- func NewNumberInput(name string, opts *NumberInputOptions) Input
- func NewReferenceInput(name string, resourceName string, opts *ReferenceInputOptions) Input
- func NewReferenceListInput(resourceName string, resourceFieldName string, opts *ReferenceListInputOptions) Input
- func NewSelectInput(name string, opts *SelectInputOptions) Input
- func NewTextInput(name string, opts *TextInputOptions) Input
- type InputOptions
- type NumberFieldOptions
- type NumberInputOptions
- type ReferenceFieldOptions
- type ReferenceInputAutocomplete
- type ReferenceInputOptions
- type ReferenceListFieldOptions
- type ReferenceListInputAutocomplete
- type ReferenceListInputOptions
- type SelectFieldOptions
- type SelectInputChoice
- type SelectInputOptions
- type TextFieldOptions
- type TextInputOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatetimeFieldOptions ¶
type DatetimeInputOptions ¶
type Field ¶
type Field struct { Name string `json:"name"` Type string `json:"type"` Options FieldOptions `json:"options"` }
func NewDatetimeField ¶
func NewDatetimeField(name string, opts *DatetimeFieldOptions) Field
func NewNumberField ¶
func NewNumberField(name string, opts *NumberFieldOptions) Field
func NewReferenceField ¶
func NewReferenceField(name string, resourceName string, opts *ReferenceFieldOptions) Field
func NewReferenceListField ¶
func NewReferenceListField(name string, resourceName string, opts *ReferenceListFieldOptions) Field
func NewSelectField ¶
func NewSelectField(name string, opts *SelectFieldOptions) Field
func NewTextField ¶
func NewTextField(name string, opts *TextFieldOptions) Field
type FieldOptions ¶
type FieldOptions = map[string]interface{}
type Input ¶
type Input Field
func NewDatetimeInput ¶
func NewDatetimeInput(name string, opts *DatetimeInputOptions) Input
func NewNumberInput ¶
func NewNumberInput(name string, opts *NumberInputOptions) Input
func NewReferenceInput ¶
func NewReferenceInput(name string, resourceName string, opts *ReferenceInputOptions) Input
func NewReferenceListInput ¶
func NewReferenceListInput(resourceName string, resourceFieldName string, opts *ReferenceListInputOptions) Input
func NewSelectInput ¶
func NewSelectInput(name string, opts *SelectInputOptions) Input
func NewTextInput ¶
func NewTextInput(name string, opts *TextInputOptions) Input
type InputOptions ¶
type InputOptions FieldOptions
type NumberFieldOptions ¶
type NumberInputOptions ¶
type ReferenceFieldOptions ¶
type ReferenceInputOptions ¶
type SelectFieldOptions ¶
type SelectInputChoice ¶
type SelectInputChoice struct { Name string `json:"name"` Value interface{} `json:"value"` }
type SelectInputOptions ¶
type TextFieldOptions ¶
Click to show internal directories.
Click to hide internal directories.