Fix typo in readme API example

This commit is contained in:
kayomn 2022-12-20 22:04:29 +00:00
parent c81a1fb876
commit 4518d13345
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Unsatisfied with the INI parsing tools provided by third-parties in the Golang e
```go
var parser = ini.NewParser(reader)
for entry := parser.Parse(); parser.IsEnd(); entry = parser.Parse() {
for entry := parser.Parse(); !(parser.IsEnd()); entry = parser.Parse() {
var myValue = myValueMap[entry.Section]
switch entry.Key {