title: How to get a list of Go dependents
body: <p>Short of building a dependency graph, is there an existing way to retrieve a list of dependent packages given a target package?</p>
  
  <p>Sourcegraph has a badge (shield) that shows you how many packages use a specific package but when I click their link to go to their UI, I cannot find a count or list of packages. Here's more info:</p>
  
  <ul>
  <li>Sourcegraph article: <a href="https://about.sourcegraph.com/blog/see-how-many-people-use-your-library-with-sourcegraph-badges/" rel="nofollow noreferrer">https://about.sourcegraph.com/blog/see-how-many-people-use-your-library-with-sourcegraph-badges/</a></li>
  </ul>
  
  <p>Example badge:</p>
  
  <p><a href="https://sourcegraph.com/github.com/gorilla/mux?badge" rel="nofollow noreferrer"><img src="https://sourcegraph.com/github.com/gorilla/mux/-/badge.svg" alt="Sourcegraph"></a></p>
  
  <p>GitHub has a dependency graph but it doesn't appear to list packages for Go and its docs only mention JavaScript and Ruby per the following:</p>
  
  <ul>
  <li>GitHub Depends on: 
  <a href="https://help.github.com/articles/listing-the-packages-that-a-repository-depends-on/" rel="nofollow noreferrer">https://help.github.com/articles/listing-the-packages-that-a-repository-depends-on/</a></li>
  </ul>