From 4518d13345fb4ac8f67722398ee3780100e3b79e Mon Sep 17 00:00:00 2001 From: kayomn Date: Tue, 20 Dec 2022 22:04:29 +0000 Subject: [PATCH] Fix typo in readme API example --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 69e1840..2c2479b 100644 --- a/readme.md +++ b/readme.md @@ -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 {