render

package
v1.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

func (r *Renderer) RenderModel(model interface{}, err error) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL