cfstras / go-utils

some go utilities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cfstras' go utilities

depgraph

A script I put together from various others.

Generates a dependency graph for graphviz from a gopath. Ignores most core packages.

Usage

# install graphviz (debian/ubuntu example)
sudo apt-get install graphviz

# install depgraph
go get github.com/cfstras/go-utils/depgraph

# start it.
# <root package> should be a package you made, for example main.
$GOPATH/bin/depgraph <root package> | dot -Tsvg > graph.svg

Help & Contributing

Feel free to contact me if you need help.

Patches and issue reports are always welcome.

License

GPLv3.

About

some go utilities.


Languages

Language:Go 83.3%Language:C++ 13.0%Language:C 3.7%