Fix typo in readme API example
This commit is contained in:
parent
c81a1fb876
commit
4518d13345
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue