Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColorPrinter ¶
type ReferenceRender ¶
type ReferenceRender interface {
SourceCode(ref models.CodeReference, highlight bool) []byte
}
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
func NewRenderer ¶
func NewRenderer( colorPrinter ColorPrinter, referenceRender ReferenceRender, outputType models.OutputType, outputJSONOneLine bool, asciiTemplates map[string]string, ) *Renderer
func (*Renderer) RenderModel ¶
Click to show internal directories.
Click to hide internal directories.