Documentation
¶
Overview ¶
Package output handles writing text/templates to stdout
Index ¶
Constants ¶
View Source
const ( // SearchType represents an output for the search command SearchType = iota // IndexType represents an output for the index command IndexType // HelpType represents an output for the help command HelpType )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Template ¶
type Template struct { Type int Data interface{} }
Template represents the template that will be used to write to stdout
func NewTemplate ¶
NewTemplate returns a new template builder
Click to show internal directories.
Click to hide internal directories.