Documentation ¶ Index ¶ func GetFormTypeFromFieldType(typeName db.DatabaseType, fieldName string) string type Layout type Type func (t Type) IsRange() bool func (t Type) IsSelect() bool func (t Type) SelectedLabel() []string func (t Type) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetFormTypeFromFieldType ¶ func GetFormTypeFromFieldType(typeName db.DatabaseType, fieldName string) string Types ¶ type Layout ¶ type Layout uint8 const ( LayoutDefault Layout = iota LayoutTwoCol LayoutFlow LayoutTab ) type Type ¶ type Type uint8 const ( Default Type = iota Text SelectSingle Select IconPicker SelectBox File Password RichText Datetime DatetimeRange Radio Email Url Ip Color Currency Number NumberRange TextArea Custom Switch ) func (Type) IsRange ¶ func (t Type) IsRange() bool func (Type) IsSelect ¶ func (t Type) IsSelect() bool func (Type) SelectedLabel ¶ func (t Type) SelectedLabel() []string func (Type) String ¶ func (t Type) String() string Source Files ¶ View all Source files form.go Click to show internal directories. Click to hide internal directories.