table

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 2 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 struct {
	// contains filtered or unexported fields
}

func NewTable

func NewTable(layout TableLayout) *Table

func (*Table) AppendBulk

func (t *Table) AppendBulk(rows [][]string)

func (*Table) AppendRow

func (t *Table) AppendRow(row []string)

func (*Table) Render

func (t *Table) Render()

func (*Table) SetHeader

func (t *Table) SetHeader(header []string)

type TableLayout

type TableLayout string
const (
	Locations         TableLayout = "locations"
	PostgreSqlService TableLayout = "postgresql_service"
	RedisService      TableLayout = "redis_service"
	WebApp            TableLayout = "web_app"
	MultipleServices  TableLayout = "multiple_services"
)

Jump to

Keyboard shortcuts

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