1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
Source: golang-github-rodaine-table
Section: golang
Priority: optional
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Uploaders: Anthony Fok <foka@debian.org>
Rules-Requires-Root: no
Build-Depends: debhelper-compat (= 13),
dh-sequence-golang,
golang-any,
golang-github-google-go-cmp-dev,
golang-github-mattn-go-runewidth-dev,
golang-github-stretchr-testify-dev
Testsuite: autopkgtest-pkg-go
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-rodaine-table
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-rodaine-table.git
Homepage: https://github.com/rodaine/table
XS-Go-Import-Path: github.com/rodaine/table
Package: golang-github-rodaine-table-dev
Architecture: all
Multi-Arch: foreign
Depends: golang-github-google-go-cmp-dev,
golang-github-mattn-go-runewidth-dev,
golang-github-stretchr-testify-dev,
${misc:Depends}
Description: 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))
|