How to build executable with name other than Golang package : <p>Is it possible to build (install, go get, etc) an executable with the name <code>foobar</code> if my Golang package name is one of the following:</p>

<ul>
<li><code>github.com/username/go-foobar</code></li>
<li><code>github.com/username/foobar-tools</code></li>
</ul>

<p>and has <code>main.go</code> in the package root?</p>
