We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jin walk.go:45 current code:
default: key := "" if len(path) != 0 { key = path[len(path)-1] } val, err := Get(json, path...) if err != nil { return err } callback(key, val, path) // return control is missing }
must change with:
default: key := "" if len(path) != 0 { key = path[len(path)-1] } val, err := Get(json, path...) if err != nil { return err } cont, err := callback(key, val, path) if err != nil { return err } if !cont { return nil } }
The text was updated successfully, but these errors were encountered:
fix: walk func callback return control #25
6fd81c7
Merge pull request #26 from ecoshub/fix/walk-func-callback-return-con…
7930857
…trol fix: walk func callback return control #25
No branches or pull requests
jin walk.go:45
current code:
must change with:
The text was updated successfully, but these errors were encountered: