table

package
v0.0.0-...-6b2826c Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultCompactModeMaxColumnWidth = 30
View Source
const Format format.Format = "table"

Variables

This section is empty.

Functions

func WithCompactModeMaxColumnWidth

func WithCompactModeMaxColumnWidth(max int) format.PropHintFunc

Types

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

func NewWriter

func NewWriter(compactModeMaxColumnWidth int) *Writer

func (*Writer) Write

func (w *Writer) Write(writer io.Writer, hints format.Hints, data ...any) error

Write implements format.Writer.

Jump to

Keyboard shortcuts

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