Wireplus is a wire command superchaged with graphviz vizualisation.
The wireplus
CLI includes an extra command wireplus graph
which visualizes the dependency graph
in online Graphviz editor available at https://edotor.net/
*Demo graph generated from https://github.com/google/go-cloud
Install wireplus by running:
go install github.com/taichimaeda/wireplus/cmd/wireplus@latest
and ensuring that $GOPATH/bin
is added to your $PATH
.
wireplus graph github.com/google/path/to/package initializeApplication
or
cd /path/to/package
wireplus graph . initializeApplication