Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StructTemplater ¶
type StructTemplater struct { Values map[string]interface{} // IgnoreFields from walking where key is field name and value is field type IgnoreFields map[string]string Funcs template.FuncMap DelimSets []Delims // If specified create a function for each value so that is can be accessed via {{ value }} in addition to {{ .value }} ValueFunctions bool RequiredTag string // contains filtered or unexported fields }
func (StructTemplater) Struct ¶
func (w StructTemplater) Struct(reflect.Value) error
this func is required to fulfil the reflectwalk.StructWalker interface
func (StructTemplater) StructField ¶
func (w StructTemplater) StructField(f reflect.StructField, v reflect.Value) error
func (StructTemplater) Walk ¶
func (w StructTemplater) Walk(object interface{}) error
Click to show internal directories.
Click to hide internal directories.