Skip to content
/ table Public

Table is a Go module providing simple table formatting functions for command line applications.

License

Notifications You must be signed in to change notification settings

jayloop/table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

table

Table is a Go module providing simple table formatting functions for command line applications.

GoDoc Go Report

installation

go get -u github.com/jayloop/table

usage

t := table.New("key", "value")
t.FormatHeader(table.Format(table.HiYellow, table.Bold))
t.Precision(2, 1)
t.Row("a", 1)
t.Row("b", 2.0)
t.Row("c", 0.001)
t.Sort(1)
t.Print(os.Stdout)

About

Table is a Go module providing simple table formatting functions for command line applications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages