Simple tool to extract go structure declarations in all go files in a given directory defined by -dir. Output is printed as a json array
Usage of ./go-getstructs:
-ast
print ast (optional) of one file
-dir string
the directory (required)
./go-getstructs -dir test-source
BSD