Package Usage: go: github.com/alexeyco/simpletable
Package simpletable allows to generate and display ascii tables in the terminal, f.e.:
There are the following key features:
* Declarative style. Have to write more code, and hell with it.
* Styling. With 6 predefined styles: MySql-like (default), compact, compact lite, markdown, rounded and unicode. And you can change it.
* Header and footer. Separeted from table body.
* Multiline cells support. See https://github.com/alexeyco/simpletable/blob/master/_example/04-multiline/main.go for example.
* cellInterface content alignment. Left, right or center.
* Row spanning. By analogy with the way it is done in HTML. See Cell.Span attribute description.
* Fast! Really fast, see https://github.com/alexeyco/simpletable/blob/master/_example/03-benchmarks-with-others
Examples: https://github.com/alexeyco/simpletable/tree/master/_example
1 version
Latest release: over 4 years ago
168 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/alexeyco/simpletable