table

package
v0.32.21 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TableWriter

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

func New

func New(w io.Writer) *TableWriter

func (*TableWriter) Do

func (u *TableWriter) Do()

func (*TableWriter) WithColumns

func (u *TableWriter) WithColumns(columns ...string) *TableWriter

WithColumns prints a new table.

func (*TableWriter) WithRow

func (u *TableWriter) WithRow(values ...string) *TableWriter

WithRow adds a row in the latest table.

func (*TableWriter) WithTableNoAutoWrapText

func (u *TableWriter) WithTableNoAutoWrapText() *TableWriter

Jump to

Keyboard shortcuts

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