title: How to view full dependency tree for nested Go dependencies
body: <p>I'm trying to debug the following build error in our CI where &quot;A depends on B which can't build because it depends on C.&quot; I'm building my data service which doesn't directly depend on kafkaAvailMonitor.go which makes this error hard to trace. In other words:</p>
  <blockquote>
  <p>data (what I'm building) depends on (?) which depends on
  kafkaAvailMonitor.go</p>
  </blockquote>
  <p>It may seem trivial to fix for a developer they just do &quot;go get whatever&quot; but I can't do that as part of the release process - I have to find the person that added the dependency and ask them to fix it.</p>
  <p>I'm aware that there are tools to visualize the dependency tree and other more sophisticated build systems, but this seems like a pretty basic issue: is there any way I can view the full dependency tree to see what's causing the build issue?</p>
  <pre><code>go build -a -v
  
  ../../../msgq/kafkaAvailMonitor.go:8:2: cannot find package 
    &quot;github.com/Shopify/sarama/tz/breaker&quot; in any of:
    /usr/lib/go-1.6/src/github.com/Shopify/sarama/tz/breaker (from $GOROOT)
    /home/jenkins/go/src/github.com/Shopify/sarama/tz/breaker (from $GOPATH)
    /home/jenkins/vendor-library/src/github.com/Shopify/sarama/tz/breaker
    /home/jenkins/go/src/github.com/Shopify/sarama/tz/breaker
    /home/jenkins/vendor-library/src/github.com/Shopify/sarama/tz/breaker
  </code></pre>