Skip to content

Commit ba9e5fd

Browse files
author
Vic Shóstak
committed
Rename content field in CSV header
1 parent 214d85c commit ba9e5fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

save_to_csv.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func (c *config) save(source []map[string]string) error {
2121
defer writer.Flush()
2222

2323
// Write the header of the CSV file.
24-
header := []string{"content", "intent"}
24+
header := []string{c.contentField, "intent"}
2525
if err = writer.Write(header); err != nil {
2626
return err
2727
}

0 commit comments

Comments
 (0)