https://github.com/negrel/asttk
:hammer_and_wrench: A toolkit to parse/edit/inspect go files.
https://github.com/negrel/asttk
ast go golang toolkit
Last synced: 10 months ago
JSON representation
:hammer_and_wrench: A toolkit to parse/edit/inspect go files.
- Host: GitHub
- URL: https://github.com/negrel/asttk
- Owner: negrel
- License: mit
- Created: 2020-10-07T18:36:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-13T14:31:35.000Z (almost 5 years ago)
- Last Synced: 2025-01-08T09:13:59.528Z (12 months ago)
- Topics: ast, go, golang, toolkit
- Language: Go
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :hammer_and_wrench: AST Toolkit
*A toolkit to parse/edit/inspect go files.*
[](https://pkg.go.dev/github.com/negrel/asttk)
[](https://goreportcard.com/report/github.com/negrel/asttk)
## Features
**ASTTK** is a set of packages that provide tools to manipulate go files/packages easily:
- **Parse**
- Parse a go file.
- Parse a go package.
- Parse a go package, and it's sub-package.
- **Inspector**
- Split your AST Inspection in multiple Inspector
- Efficient inspection with multiple Inspectors.
- **Edit**
- Ready-to-use Inspector function for basic AST edition.
### Contributing
If you want to contribute to **ASTTK** to add a feature or improve the code contact me at
[negrel.dev@protonmail.com](mailto:negrel.dev@protonmail.com), open an [issue](https://github.com/negrel/asttk/issues)
or make a [pull request](https://github.com/negrel/asttk/pulls).
## :stars: Show your support
Please give a :star: if this project helped you!
#### :scroll: License
MIT © [Alexandre Negrel](https://www.negrel.dev)