• Pieter Droogendijk's avatar
    encoding/csv: always allow trailing commas · f2bc2755
    Pieter Droogendijk authored
    Original CL by rsc (11916045):
    
    The motivation for disallowing them was RFC 4180 saying
    "The last field in the record must not be followed by a comma."
    I believe this is an admonition to CSV generators, not readers.
    When reading, anything followed by a comma is not the last field.
    
    Fixes #5892.
    
    R=golang-dev, rsc, r
    CC=golang-dev
    https://golang.org/cl/12294043
    f2bc2755
Name
Last commit
Last update
..
reader.go Loading commit data...
reader_test.go Loading commit data...
writer.go Loading commit data...
writer_test.go Loading commit data...