A Lightweight tools By Golang AST.Now it has supported below:
This is an executable program,if you want to use it,you need to follow steps:
- Download it:
go get -u github.com/pingdai/ast2templateor
git clone https://github.com/pingdai/ast2template.git- Install it:
go install- You maybe get some other packages:
go get -u github.com/spf13/cobra
go get -u github.com/jinzhu/gorm$ ast2templateast tools
Usage:
ast2template [command]
Available Commands:
gen generators
help Help about any command
Flags:
-h, --help help for ast2template
Use "ast2template [command] --help" for more information about a command.
See detail useage,click here