Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColorPrinter ¶
type Render ¶
type Render struct {
// contains filtered or unexported fields
}
func NewRender ¶
func NewRender(printer ColorPrinter) *Render
func (*Render) SourceCode ¶
func (r *Render) SourceCode(ref models.CodeReference, highlight bool) []byte
func (*Render) SourceCodeWithoutOffset ¶
func (r *Render) SourceCodeWithoutOffset(ref models.CodeReference, highlight bool) []byte
Click to show internal directories.
Click to hide internal directories.