forked from toolshed/abra
refactor: CreateTable2 -> CreateTable [ci skip]
This commit is contained in:
@ -40,8 +40,8 @@ func HumanDuration(timestamp int64) string {
|
||||
return units.HumanDuration(now.Sub(date)) + " ago"
|
||||
}
|
||||
|
||||
// CreateTable2 prepares a table layout for output.
|
||||
func CreateTable2() (*table.Table, error) {
|
||||
// CreateTable prepares a table layout for output.
|
||||
func CreateTable() (*table.Table, error) {
|
||||
width, _, err := term.GetSize(0)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Reference in New Issue
Block a user