Package rewrite can rewrite a Go AST node given a rewriter function
Do you want to download the README.md file for ast-rewrite?