tableprint

package module
v0.0.0-...-6f5e47f Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fprint

func Fprint(w io.Writer, header []string, data [][]interface{}) error

func Print

func Print(header []string, data [][]interface{}) error

Types

type Printer

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

func New

func New() *Printer

func (*Printer) Fprint

func (p *Printer) Fprint(w io.Writer, header []string, data [][]interface{}) error

func (*Printer) Print

func (p *Printer) Print(header []string, data [][]interface{}) error

func (*Printer) SetCenterSeparator

func (p *Printer) SetCenterSeparator(s string)

func (*Printer) SetColumnSeparator

func (p *Printer) SetColumnSeparator(s string)

func (*Printer) SetRowIndent

func (p *Printer) SetRowIndent(i int)

func (*Printer) SetRowSeparator

func (p *Printer) SetRowSeparator(s string)

Jump to

Keyboard shortcuts

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