Documentation ¶
Index ¶
- type Render
- func (r *Render) Header(w io.Writer, h *models.Header) error
- func (r *Render) LoadCustomTemplates(dir string) error
- func (r *Render) LoadCustomTemplatesName(name string) error
- func (r *Render) LoadFromData(templateData [][]byte)
- func (r *Render) TestFunction(w io.Writer, f *models.Function, printInputs bool, subtests bool, named bool, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Render ¶
type Render struct {
// contains filtered or unexported fields
}
func (*Render) LoadCustomTemplates ¶
LoadCustomTemplates allows to load in custom templates from a specified path.
func (*Render) LoadCustomTemplatesName ¶
LoadCustomTemplatesName allows to load in custom templates of a specified name from the templates directory.
func (*Render) LoadFromData ¶
LoadFromData allows to load from a data slice
Click to show internal directories.
Click to hide internal directories.