Skip to content

paetzke/go-dep-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-dep-graph

Go-dep-graph can be used to produce visualisations of package and file dependencies of Go(lang) source code.

http://paetzke.me/static/images/go-dep-graph.ps.png

Usage:

$ go-dep-graph [OPTIONS] directory...

Options:

  • p: show only packages, not files
  • s: don’t show standard packages

Go-dep-graph produces output that’s suitable for graphviz. Just pipe the output to it.

$ ./go-dep-graph -p -s $GOPATH/src | dot -Tpdf -O

http://paetzke.me/static/images/go-dep-graph.p.png

To install graphviz just type (for Ubuntu/Debian)

$ apt-get install graphviz

Bugs and improvements

Feel free to open tickets or send pull requests with improvements. These contributors have done so.

Copyright

Copyright (c) 2013-2015 Friedrich Pätzke. See LICENSE for further details.

Greetings. Friedrich.

About

Tool to visualize files and package dependencies of Go sources.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages