gographs renders dependency graphs for Go packages.
[![gographs](https://gographs.io/badge.svg)](https://gographs.io/repo/GO_REPO?[cluster=true|false])
Example
[![gographs](https://gographs.io/badge.svg)](https://gographs.io/repo/github.com/siggy/gographs?cluster=true)
Endpoint | Desc |
---|---|
/ | Defaults to rendering this Go repo. |
/repo/GO_REPO?cluster=false|true | Permalink to a repo. Use POST to refresh. |
/graph/GO_REPO.svg?cluster=false|true | SVG direct link. Use POST to refresh. |
/graph/GO_REPO.dot?cluster=false|true | GraphViz DOT direct link. Use POST to refresh. |
/svg?url=SVG_URL | Permalink to view an arbitrary SVG URL. |
go install github.com/loov/[email protected]
brew install dot # or equivalent
brew install redis # or equivalent
redis-server /usr/local/etc/redis.conf
go run main.go --log-level debug
Browse to http://localhost:8888
bin/lint
This tool is built using many open source packages, but two in particular deserve special mention, as this site is essentially a mashup of them:
pkg/repo
is based on Go Report Card
courtesy of shields.io