a code generator CLI tool
go get -u github.com/paulyung541/code-gen
default is golang
$ code-gen gen -d -n {your_project_name}
then the {your_project_name}
project will created in your current directory like follow
./your_project_name
main.go
Makefile
use --demo-type
flag
$ code-gen gen -d -n {your_project_name} --demo-type clang
./your_project_name
main.c
Makefile
let your json file in current directory first, and run this command
$ code-gen json
then the go file will be created