diff --git a/README.md b/README.md index 2733e58..bc26c3c 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,7 @@ Returning `false` from an iterator will stop iteration. ```go result := gjson.Get(json, "programmers") -result.ForEach(func(key, value Result) bool{ +result.ForEach(func(key, value gjson.Result) bool{ println(value.String()) return true // keep iterating })