mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 14:44:18 +02:00
streamline table api
This commit is contained in:
@@ -64,7 +64,7 @@ func SearchQL(conf *cfg.Config, querystring string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
table := printer.NewTable(conf, len(qlResult.Columns), len(qlResult.Values))
|
||||
table := printer.NewTable(conf).WithSize(len(qlResult.Columns), len(qlResult.Values))
|
||||
|
||||
headers := make([]string, len(qlResult.Columns))
|
||||
for idx, col := range qlResult.Columns {
|
||||
|
||||
Reference in New Issue
Block a user