mirror of
https://github.com/johnkerl/miller.git
synced 2026-08-04 21:43:38 +00:00
The "= nil" assignment isn't necessary. Merge the error handling, and drop the empty "if outputHandler != nil" branch. Signed-off-by: Stephen Kitt <steve@sk2.org> |
||
|---|---|---|
| .. | ||
| channel_writer.go | ||
| doc.go | ||
| file-output-handlers.go | ||
| README.md | ||
| record_writer.go | ||
| record_writer_csv.go | ||
| record_writer_csv_colorizer.go | ||
| record_writer_csvlite.go | ||
| record_writer_dkvp.go | ||
| record_writer_factory.go | ||
| record_writer_json.go | ||
| record_writer_markdown.go | ||
| record_writer_nidx.go | ||
| record_writer_pprint.go | ||
| record_writer_xtab.go | ||
Logic for formatting output records as strings to standard output.
There is one record-writer type per supported output file format, and a factory method.