Compare commits

...

1 Commits

Author SHA1 Message Date
Laurentu a6ac958ee2 zz 2025-05-14 16:04:41 +02:00
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ type CsvParser struct {
ignore string ignore string
maxFieldIndex int maxFieldIndex int
} }
func (p *csvParser) FieldCount() int { func (p *CsvParser) FieldCount() int {
return maxFieldIndex + 1 return p.maxFieldIndex + 1
} }
/* /*
* delimiters: string with all delimiter chars * delimiters: string with all delimiter chars