Registry / utility / modood-table

modood-table

JSON →
library0.0.0-20220527013332-8d47e76dad33gogounverified

Package table produces a string that represents a slice of structs data in a text table.

go get github.com/modood/table
INSTALL
IMPORT
SIG · MODOOD-TABLE
M
modood-table
utilitygov0.0.0-20220527013332-8d47e76dad33
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

table
github.com/modood/table

Prints a text table of a slice of structs.

package main import ( "fmt" "github.com/modood/table" ) func main() { type Person struct { Name string Age int } data := []Person{{Name: "Alice", Age: 30}, {Name: "Bob", Age: 25}} fmt.Println(table.Table(data)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20220527013332-8d47e76dad33latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
modood-table — go get modood-table · libregistry