renderer

package
v1.202.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2025 License: Apache-2.0 Imports: 11 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
}

Renderer orchestrates the complete list rendering pipeline. Pipeline: data → filter → column selection → sort → format → output.

func New

func New(
	filters []filter.Filter,
	selector *column.Selector,
	sorters []*sort.Sorter,
	fmt format.Format,
	delimiter string,
) *Renderer

New creates a renderer with optional components.

func (*Renderer) Render

func (r *Renderer) Render(data []map[string]any) error

Render executes the full pipeline and writes output.

Jump to

Keyboard shortcuts

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