aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2024-05-28 21:19:16 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2024-05-28 21:19:16 +0530
commit7a8b41383eb1ba24c108b2e474524cc4c116de3e (patch)
tree6fe329924c2df1a4081035a58b96a1c6f68a4c23
parent160496938ebb9a32d0d3d41071a3daaf2480bb33 (diff)
update README fix error in example codev1.1.1
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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)