tableprinter

package
v0.5.2-108-ge4b76b8 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TablePrinter

type TablePrinter interface {
	IsTTY() bool
	AddField(string, func(int, string) string, func(string) string)
	EndRow()
	Render() error
}

func NewTablePrinter

func NewTablePrinter(ctx context.Context) TablePrinter

func NewTablePrinterWithOptions

func NewTablePrinterWithOptions(ctx context.Context, opts TablePrinterOptions) TablePrinter

type TablePrinterOptions

type TablePrinterOptions struct {
	IsTTY bool
}

Jump to

Keyboard shortcuts

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