title: Find dead code in Golang monorepo
body: <p>My team has all our Golang code in a monorepo.</p>
  
  <ul>
  <li>Various package subdirectories with library code.</li>
  <li>Binaries/services/tools under <code>cmd</code></li>
  </ul>
  
  <p>We've had it for a while and are doing some cleanup. Are there any tools or techniques that can find functions not used by the binaries under <code>cmd</code>?</p>
  
  <p>I know <code>go vet</code> can find private functions that are unused in a package. However I suspect we also have exported library functions that aren't used either.</p>