The TextOutputWriter formats the CLI output as text meaning fields are separated by tabs and multiple elements by newline. It is used when the --output text parameter is provided. Example: foo1 bar1 foo2 bar2
| 19 | // foo1 bar1 |
| 20 | // foo2 bar2 |
| 21 | type TextOutputWriter struct { |
| 22 | output io.Writer |
| 23 | transformer Transformer |
| 24 | } |
| 25 | |
| 26 | func (w TextOutputWriter) sortKeys(value map[string]interface{}) []string { |
| 27 | keys := []string{} |
nothing calls this directly
no outgoing calls
no test coverage detected