- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for sep (0.32 sec)
-
istioctl/pkg/writer/table/writer.go
output := c.getTableOutput(c.rows) if len(output) == 0 { return } sep := getMaxWidths(output) for _, row := range output { for i, col := range row { _, _ = fmt.Fprint(c.writer, col.String()) if i == len(row)-1 { _, _ = fmt.Fprint(c.writer, "\n") } else { padAmount := sep[i] - utf8.RuneCount([]byte(col.Value)) + 2 _, _ = fmt.Fprint(c.writer, strings.Repeat(" ", padAmount))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Oct 08 04:41:42 GMT 2022 - 2.8K bytes - Viewed (0)