Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BreakValueIntoMandates ¶
Types ¶
type FieldDef ¶
type FieldDef struct { Name string Type reflect.Type Required bool Default string Description string }
FieldDef holds the type definition of a field in a custom struct, as well as its Figyr metadata.
func BuildFieldDef ¶
BuildFieldDef builds a FieldDef from the given field name, type, and Figyr tag.
func (FieldDef) Constraint ¶
Click to show internal directories.
Click to hide internal directories.