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

why I cant have dots (.) in my csv data #270

Open mayeter opened 8 months ago

mayeter commented 8 months ago

Hello,

I am trying to read a DNS Manager dump from csv file. I couldn't find a way to pass this error:

record on line 0; parse error on line 2, column 5: invalid character '.' after top-level value

Here is what my csv looks like:

record_name,zone_name,location,record_type,record_value,ttl,proxy_enabled,proxy_value
test-record,example.com,usa,A,1.1.1.1,,,
test-record2,example.com,usa,CNAME,test-record.example.com,60,,
test-record3,example.com,usa,,10.10.10.10,,true,2.2.2.2

Please don't mind unfamiliar fields, its for something else.