Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FuncMap = sprig.TxtFuncMap() // Options contain the default options for the template execution. Options = []string{ "missingkey=invalid", } )
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // Executes the template on the given target directory path. Execute(string) error // If used, the template will execute using default values. UseDefaultValues() // Returns the metadata of the template. Info() Metadata }
Interface is contains the behavior of boilr templates.
type JSONTime ¶
JSONTime is time.Time with JSON marshaling and unmarshaling implementations.
func (*JSONTime) MarshalJSON ¶
MarshalJSON marshals JSONTime to JSON.
func (*JSONTime) UnmarshalJSON ¶
UnmarshalJSON unmarshals JSON to JSONTime.
Click to show internal directories.
Click to hide internal directories.