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
some people want to ignore some node. I think some refactor step to achieve.
change tree function. use switch statement to call specific func to using map to get specific func. before
switch n.(type) { case *ast.... }
after
f := functions[fmt.Sprintf("%T", node)] f(w, ....)
create empty function to pass node.
set pass function to map when ignore node is given.
The text was updated successfully, but these errors were encountered:
need to add Ignore option to astree.Tree func. then generate map with option and execute internal tree func.
astree.Tree
Sorry, something went wrong.
https://budougumi0617.github.io/2018/09/21/package-dependencies-with-go-list-and-build-tags/
No branches or pull requests
some people want to ignore some node.
I think some refactor step to achieve.
1st step
change tree function.
use switch statement to call specific func to using map to get specific func.
before
after
2nd step
create empty function to pass node.
3rd step
set pass function to map when ignore node is given.
The text was updated successfully, but these errors were encountered: