Update to tableWriter 1.0.6 (#50)

This commit is contained in:
T.v.Dein
2025-05-27 13:09:18 +02:00
committed by GitHub
parent eae39bbff1
commit 787178b17e
7 changed files with 246 additions and 103 deletions

View File

@@ -254,17 +254,6 @@ func reduceColumns(conf cfg.Config, data *Tabdata) {
}
}
// FIXME: remove this when we only use Tablewriter and strip in ParseFile()!
func trimRow(row []string) []string {
var fixedrow = make([]string, len(row))
for idx, cell := range row {
fixedrow[idx] = strings.TrimSpace(cell)
}
return fixedrow
}
// FIXME: refactor this beast!
func colorizeData(conf cfg.Config, output string) string {
switch {