Versions in this module Expand all Collapse all v2 v2.0.0 Jan 1, 2021 Changes in this version + var AllType = []Type + func DefaultHTML(value string) template.HTML + func GetFormTypeFromFieldType(typeName db.DatabaseType, fieldName string) string + func HiddenInputHTML(field, value string) template.HTML + type Layout uint8 + const LayoutDefault + const LayoutFiveCol + const LayoutFlow + const LayoutFourCol + const LayoutSixCol + const LayoutTab + const LayoutThreeCol + const LayoutTwoCol + func GetLayoutFromString(s string) Layout + func (l Layout) Col() int + func (l Layout) Default() bool + func (l Layout) Flow() bool + func (l Layout) String() string + type Type uint8 + const Array + const Checkbox + const CheckboxSingle + const CheckboxStacked + const Code + const Color + const Currency + const Custom + const Date + const DateRange + const Datetime + const DatetimeRange + const Default + const Email + const File + const IconPicker + const Ip + const Multifile + const Number + const NumberRange + const Password + const Radio + const Rate + const RichText + const Select + const SelectBox + const SelectSingle + const Slider + const Switch + const Table + const Text + const TextArea + const Url + func CheckType(t, def Type) Type + func (t Type) FixOptions(m map[string]interface{}) map[string]interface{} + func (t Type) GetDefaultOptions(field string) (map[string]interface{}, map[string]interface{}, template.JS) + func (t Type) IsArray() bool + func (t Type) IsCode() bool + func (t Type) IsCustom() bool + func (t Type) IsDate() bool + func (t Type) IsDateRange() bool + func (t Type) IsDateTime() bool + func (t Type) IsDateTimeRange() bool + func (t Type) IsEditor() bool + func (t Type) IsFile() bool + func (t Type) IsMultiFile() bool + func (t Type) IsMultiSelect() bool + func (t Type) IsRange() bool + func (t Type) IsRichText() bool + func (t Type) IsSelect() bool + func (t Type) IsSingleSelect() bool + func (t Type) IsSlider() bool + func (t Type) IsTable() bool + func (t Type) IsTextarea() bool + func (t Type) Name() string + func (t Type) SelectedLabel() []template.HTML + func (t Type) String() string Other modules containing this package github.com/betterwithbenji/go-admin