Documentation
¶
Overview ¶
Data Harvest.
Usage
f := formStr{} dataSlice := data.NewDataSlice() check := form.New(dataSlice, "en-GB") check.RenderStr(&f) d := dataSlice.PullAndReset()
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Name string Count int Error string Warning string Checked bool FirstLayerStacks form.FirstLayerStack LabelFor string LabelContent string LabelAttr string // Pre Rendered }
Data
func (Data) RenderHtml ¶
Render First Layer Stacks as 'template.HTML'
func (Data) RenderString ¶
Render First Layer Stacks as 'string'
type DataMap ¶
type DataMap interface { form.RenderSecondLayer // Pull and Reset Data PullAndReset() map[string][]Data }
DataMap Interface
func NewDataMap ¶
func NewDataMap() DataMap
Create New Data Map.
Note: Do not use as Default Second Renderer, not thread safe.
type DataSlice ¶
type DataSlice interface { form.RenderSecondLayer // Pull and Reset Data PullAndReset() []Data }
DataSlice Interface
func NewDataSlice ¶
func NewDataSlice() DataSlice
Create new Data Slice
Note: Do not use as Default Second Renderer, not thread safe.
Click to show internal directories.
Click to hide internal directories.