Documentation
¶
Index ¶
- func PrintTableTemplate(out io.Writer, args interface{}, dir, filename string) error
- func ReadFile(dir, filename string) ([]byte, error)
- func RenderTemplate(args interface{}, dir, filename, outputPath string) error
- func RenderTemplateBytes(args interface{}, dir, filename string) ([]byte, error)
- func WriteFile(outFilename string, data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintTableTemplate ¶
PrintTableTemplate renders a tabular data template and flushes it to stdout.
func RenderTemplate ¶
RenderTemplate renders a template from the embedded file system and writes it to disk.
func RenderTemplateBytes ¶
RenderTemplateBytes renders a template from the embedded file system and returns the resulting bytes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.