This commit is contained in:
Laurentu 2025-05-14 16:04:41 +02:00
parent 8c241fff65
commit a6ac958ee2
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