Versions in this module Expand all Collapse all v1 v1.6.1-server-1.31.0-150.0 Feb 5, 2026 v1.6.0 Feb 5, 2026 Changes in this version + const AlignCenter + const AlignDefault + const AlignLeft + const AlignRight + const NonJSONIndent + type Align int + type Colorer func(string, ...interface{}) string + type PrintStructuredIter interface + Next func() (any, error) + type Printer struct + FormatTime func(time.Time) string + JSON bool + JSONIndent string + JSONPayloadShorthand bool + Output io.Writer + TableHeaderColorer Colorer + func (p *Printer) EndList() + func (p *Printer) Print(s ...string) + func (p *Printer) PrintStructured(v any, options StructuredOptions) error + func (p *Printer) PrintStructuredTableIter(typ reflect.Type, iter PrintStructuredIter, options StructuredOptions) error + func (p *Printer) Println(s ...string) + func (p *Printer) Printlnf(s string, v ...any) + func (p *Printer) StartList() + type StructuredOptions struct + ExcludeFields []string + Fields []string + NonJSONExtraIndent int + OverrideJSONPayloadShorthand *bool + Table *TableOptions + type TableOptions struct + FieldAlign map[string]Align + FieldWidths map[string]int + NoHeader bool