Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
Execute takes a template string and an `any` struct, substituting struct values for the variables. Field names can be nested.
func GetFieldsFormatted ¶
GetFieldsFormatted returns an `any` slice for the struct and fields requested. An error is returned if any fields are not found or parsing options fail.
func GetFieldsFormattedForce ¶
GetFieldsFormattedForce returns an `any` slice for the struct and fields requested. An empty string value is returned for anything that encounters an error.
Types ¶
Click to show internal directories.
Click to hide internal directories.