Repository badges (Go open-source projects only)
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:
(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.
- The number may be overcounted because it is the sum of counts for all of the repository’s subpackages. If another project uses multiple subpackages in this repository, the project is counted multiple times.
- Importers using custom Go import paths (i.e., anything other than import paths prefixed by the repository name, such as
github.com/foo/bar) will not be counted.