Documentation ¶
Index ¶
- type Printer
- func (p Printer) AddFuncs(t *template.Template)
- func (p Printer) Commands() map[string]model.Command
- func (p Printer) ConvertNewLines(s string) string
- func (p Printer) NewPrintTemplate(name string) (*template.Template, error)
- func (p Printer) NewTemplate(name string) (*template.Template, error)
- func (p Printer) WriteTo(w io.Writer, data interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Printer ¶
type Printer struct { Model model.Printer Template string SuppressCommands bool // contains filtered or unexported fields }
func (Printer) ConvertNewLines ¶
func (Printer) NewPrintTemplate ¶
Click to show internal directories.
Click to hide internal directories.