[ trixie ]
[ sid ]
[ Källkod: golang-github-rodaine-table ]
Paket: golang-github-rodaine-table-dev (1.1.0-2)
Länkar för golang-github-rodaine-table-dev
Debianresurser:
Hämta källkodspaketet golang-github-rodaine-table:
- [golang-github-rodaine-table_1.1.0-2.dsc]
- [golang-github-rodaine-table_1.1.0.orig.tar.gz]
- [golang-github-rodaine-table_1.1.0-2.debian.tar.xz]
Ansvariga:
Externa resurser:
- Hemsida [github.com]
Liknande paket:
- golang-github-muesli-ansi-dev
- python3-rich
- libhtml-table-perl
- libpdf-table-perl
- node-columnify
- golang-github-charmbracelet-bubbles-dev
- golang-github-bmatsuo-lmdb-go-dev
- golang-github-makeworld-the-better-one-dither-dev
- golang-github-meowgorithm-babylogger-dev
- golang-github-spf13-cast-dev
- python-blessed
Go CLI Table Generator (library)
Go package "table" provides a convenient way to generate tabular output of any data, primarily useful for CLI tools.
Features:
* Accepts all data types (string, int, interface{}, everything!) and will use the String() string method of a type if available. * Can specify custom formatting for the header and first column cells for better readability. * Columns are left-aligned and sized to fit the data, with customizable padding. * The printed output can be sent to any io.Writer, defaulting to os.Stdout. * Built to an interface, so you can roll your own Table implementation. * Works well with ANSI colors (fatih/color (https://github.com/fatih/color) in the example)! * Can provide a custom WidthFunc to accomodate multi- and zero-width characters (such as runewidth (https://github.com/mattn/go-runewidth))
Andra paket besläktade med golang-github-rodaine-table-dev
|
|
|
|
-
- dep: golang-github-google-go-cmp-dev
- Package for comparing Go values in tests
-
- dep: golang-github-mattn-go-runewidth-dev
- functions to get fixed width of the character or string
-
- dep: golang-github-stretchr-testify-dev
- sacred extension to the standard Go testing package
Hämta golang-github-rodaine-table-dev
Arkitektur | Paketstorlek | Installerad storlek | Filer |
---|---|---|---|
all | 7,4 kbyte | 32,0 kbyte | [filförteckning] |