embedded-struct-visualizer
embedded-struct-visualizer copied to clipboard
Tool to visualize the graph of embedded structs in Go projects
It's nice to know that the parser works, but it could also be useful to run some sort of validator on a generated DOT file to make sure it's okay.
👋🏽 awesome tool! It would be awesome if took a flag to stop the recursion whenever it hits a struct from a different module. Running this tool in a production...
1. the config file sample: ```conf time.Time gorm.Model prefix:null. ``` exclude `time.Time` , `gorm.Model` and all `gopkg.in/guregu/null.v3` types eg: `embedded-struct-visualizer -exclude-pkg ~/exclude-pkg.conf -out 1.dot ./core` 2. add graph direction support