An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# :hammer_and_wrench: AST Toolkit
*A toolkit to parse/edit/inspect go files.*

[![PkgGoDev](https://pkg.go.dev/badge/github.com/negrel/asttk)](https://pkg.go.dev/github.com/negrel/asttk)
[![Go Report Card](https://goreportcard.com/badge/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)