gographs renders dependency graphs for Go packages.
[](https://gographs.io/repo/GO_REPO?[cluster=true|false])Example
[](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 tool
brew install graphviz # or equivalent
brew install valkey # or equivalent
valkey-cli pinggo run main.go --log-level debugBrowse to http://localhost:8888
bin/lintThis 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