Go, how to import package from github and build without go get
<p>I need to import external package from github “<code>github.com/xy/packageX</code>” to <code>MyProject/src/myProjcet.go</code>. So I added import “<code>github.com/xy/packageX</code>” to <code>myProject.go</code>. If I run go build, I get:</p>

<pre><code>myProject.go:9:2: import “github.com/xy/packageX”: cannot find package
</code></pre>

<p>So I have to run <code>go get</code>, and then <code>go build</code>.<br>
Is there a way, how it can be built without using of <code>go get</code>? Or should I download it to <code>MyProject/pkg</code> and added this link to <code>myProject.go</code>? I am on Xubuntu 14.04.</p>