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

UnmarshalToCallback without header #259

Open fcgxz2003 opened 1 year ago

fcgxz2003 commented 1 year ago

Can we implement UnmarshalToCallback function but without header? image

In readEachWithoutHeaders function, it should return "csv is empty" error instead of "no csv struct tags found", because only this csv without headers is empty can get the length of outInnerStructInfo fields is 0.