Correct the false comments and delete dead code

This commit is contained in:
2026-09-28 21:29:54 +02:00
committed by Lillem4n
parent a84997d2f4
commit 21b48c8c41
7 changed files with 7 additions and 23 deletions
+1 -1
View File
@@ -224,7 +224,7 @@ type recordFormat struct {
}
// recordFormats is every --format that writes records. json frames the records
// as one array document; ndjson is the same column, one object per line.
// as one array document; ndjson writes one object per line.
var recordFormats = map[string]recordFormat{
"csv": {header: (*fejkdata.Record).CSVHeader, line: func(r *fejkdata.Record, _ string) string { return r.CSVLine() }, sep: "\n"},
"json": {line: jsonLine, open: "[", close: "]", sep: ",\n"},