table

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options ...seed.Option) seed.Seed

New returns a new Table.

func Row

func Row(labels ...interface{}) seed.Seed

Row returns a table row, each argument is converted into a subsequent Cell in the row.

func SetBorder

func SetBorder(style set.BorderStyle) seed.Option

SetBorder sets the border of this table.

func SetCellPadding

func SetCellPadding(padding units.Unit, more ...units.Unit) seed.Option

SetCellPadding sets the padding of the cells in this table.

func SetColumns

func SetColumns(labels ...interface{}) seed.Seed

SetColumns sets the columns of the table, each argument is converted into a client.String and used as a column heading.

Types

This section is empty.

Jump to

Keyboard shortcuts

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