Go Explorer is an experimental tool to dynamically visualize Go packages using interactive overview.
Goal of this project is to experiment with visualization of Go packages and environment to aid developers by providing interactive overviews for various analyses, such as exploring package hierarchy, viewing package dependencies, examining call graph of a program, ..etc.
The initial idea began during development of go-callvis and I've decided to develop goexplorer as a separate project, which is intended to provide more abstract approach.
It has web server that serves the API and web application that uses vis.js for visualization inside <canvas>
.
This project is currently at very early stage of development!
- explore hierarchy of $GOPATH
- view dependencies of a package
- examine call graph of a program
- Go 1.7+
Use the following command to install:
go get -u github.com/TrueFurby/goexplorer
cd $GOPATH/src/github.com/TrueFurby/goexplorer; go install
goexplorer
Open http://localhost:8888 in your browser.
Clicking on nodes will retrieve content if any and add it's child nodes dynamically to the clicked node. By pressing DEL
key you can remove all child nodes of currently selected node.
- with green laptop icon represent programs
- with blue box icon represent packages
Join the #goexplorer channel at gophers.slack.com (not a member? get invitation)
Did you find any bugs or have any suggestions? Feel free to open new issue or start discussion in the slack channel.