gocarina / gocsv

The GoCSV package aims to provide easy CSV serialization and deserialization to the golang programming language
MIT License
1.95k stars 243 forks source link

fix: handle slice/array of Struct when csv[] tag missing #249

Closed dchill72 closed 1 year ago

dchill72 commented 1 year ago

For a field that is simply a slice or an array of a Struct, if no special csv[] tag is supplied, just marshal the array elements to string, encoded into the csv column.

This won't interfere with the csv[] field expansion logic.

pikanezi commented 1 year ago

Thanks and sorry for the delay