package
module
Version:
v0.0.0-...-7ded8a3
Opens a new window with list of versions in this module.
Published: Jan 31, 2019
License: BSD-3-Clause
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 15
Opens a new window with list of known importers.
README
¶
CLI library for rendering responsive tables
This project is a library to render CLI tables. It was extracted from the
tsuru project.
Features
- Nice word wrap on largest column to fit in the terminal window;
- Easy to use;
- ….
Documentation
¶
type Table struct {
LineSeparator bool
}
func (t *Table) Reverse()
Sort sorts the rows in the table using the first column as key.
func (t *Table) SortByColumn(columns ...int)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.