table

package
v0.0.0-...-41e44c1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 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 FormatFunc

type FormatFunc func(string, ...interface{}) string

type Table

type Table struct {
	HideHeaders bool
	HideDash    bool
	Vertical    bool
	// contains filtered or unexported fields
}

func New

func New(headers []string) *Table

func (*Table) AddRow

func (t *Table) AddRow(vs ...[]string) *Table

func (*Table) Render

func (t *Table) Render() string

Jump to

Keyboard shortcuts

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