stdout

package
v0.0.0-...-2428f7e Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: Apache-2.0 Imports: 5 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 struct {
	// contains filtered or unexported fields
}

func NewTablePrinter

func NewTablePrinter() *TablePrinter

func (*TablePrinter) Add

func (tp *TablePrinter) Add(row []string)

Add 添加一行数据:第一行为表头,其余为数据行

func (*TablePrinter) Print

func (tp *TablePrinter) Print() error

Print 打印表格

func (*TablePrinter) Reset

func (tp *TablePrinter) Reset()

func (*TablePrinter) SetTitle

func (tp *TablePrinter) SetTitle(title string)

Jump to

Keyboard shortcuts

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