title: How can I check one package direct depends / indirect depends on another?
body: <h1>As titled.</h1>
  
  <p>My solution would be </p>
  
  <pre><code>cd $PATH_4_PACKAGE_ONE
  go list -f '{{ join .Deps "\n" }}' | grep "$PATH_4_PACKAGE_TWO"
  </code></pre>
  
  <ol>
  <li>Is there a better solution?</li>
  <li>What if I want find packages in an list of packages depends on any packages from another list of packages?</li>
  </ol>