refactor: CreateTable2 -> CreateTable [ci skip]

This commit is contained in:
2024-07-16 22:45:03 +02:00
parent a41a36b8fd
commit b5493ba059
12 changed files with 15 additions and 15 deletions

View File

@ -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