Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LineComment ¶
func LowerCamel ¶
func UpperCamel ¶
Types ¶
type T ¶
type T struct {
// contains filtered or unexported fields
}
T is a template helper.
func (*T) AppendFuncMap ¶
func (*T) MustExecute ¶
MustExecute executes the template.
func (*T) MustSave ¶
MustSave saves the template to the given filename, it will do nothing if it exists.
func (*T) MustSaveAs ¶
MustSaveAs saves the template to the given filename, it will overwrite the file if it exists.
Click to show internal directories.
Click to hide internal directories.