table

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Table

type Table interface {
	SetHeaders(h []string)
	AddRow(r []string) error
	IsEmpty() bool
	Println()
}

Table interface

func NewTable

func NewTable(t Type) Table

NewTable is init a new default table

type Type

type Type int

Type : table type

const (
	Horizontal Type = 0
	Vertical   Type = 1
)

table type

Jump to

Keyboard shortcuts

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