This commit is contained in:
Laurentu 2025-05-14 15:56:45 +02:00
parent 62296e1da6
commit 8c241fff65
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,9 @@ type CsvParser struct {
ignore string ignore string
maxFieldIndex int maxFieldIndex int
} }
func (p *csvParser) FieldCount() int {
return maxFieldIndex + 1
}
/* /*
* delimiters: string with all delimiter chars * delimiters: string with all delimiter chars
* mergeDelimiters: if true, all successive delimiters are considered as one * mergeDelimiters: if true, all successive delimiters are considered as one