Table is a Go module providing simple table formatting functions for command line applications.
go get -u github.com/jayloop/table
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)