From 7a8b41383eb1ba24c108b2e474524cc4c116de3e Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 28 May 2024 21:19:16 +0530 Subject: update README fix error in example code --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index b3ba01a..271db09 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ func main() { panic(err) } - for i, _ := range res { + for _, i := range res { fmt.Println(i.Title) fmt.Println(i.Category) fmt.Println(i.Flag) -- cgit v1.2.3