output

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTabWriter

func NewTabWriter(w io.Writer) *tabwriter.Writer

NewTabWriter creates a new tabwriter with standard formatting settings.

func PrintEntity

func PrintEntity(w io.Writer, entity map[string]any)

PrintEntity prints a single entity as key-value pairs.

func PrintEntityTable

func PrintEntityTable(w io.Writer, entities []map[string]any)

PrintEntityTable prints a list of entities as a table.

func PrintJSON

func PrintJSON(w io.Writer, v any) error

PrintJSON writes v as pretty-printed JSON to w.

func PrintMetaTypes

func PrintMetaTypes(w io.Writer, types []string)

PrintMetaTypes prints entity type metadata as a table.

func PrintProperties

func PrintProperties(w io.Writer, props []map[string]string)

PrintProperties prints entity properties as a table.

Types

This section is empty.

Jump to

Keyboard shortcuts

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