Sourcegraph.com generates badges with usage statistics for open-source Go repositories. The badges shows the total number of Go packages (among all known public repositories) that import the repository's Go packages.
To add a badge to your project's README.md, add this Markdown:
[![Sourcegraph](https://sourcegraph.com/github.com/gorilla/mux/-/badge.svg)](https://sourcegraph.com/github.com/gorilla/mux?badge)
(Be sure to replace github.com/gorilla/mux
with your own repository's name.)
This renders the following badge:
Please report any other issues and feature requests on the Sourcegraph issue tracker.
github.com/foo/bar
) will not be counted.