title: Golang - cannot find package in SublimeText2
body: <p>when i try to execute my .go script with my package <code>newmath</code> i get following error in SublimeText2.</p>
  
  <pre><code>"test.go:5:2: import "newmath": cannot find package"
  </code></pre>
  
  <p><strong>Thats my build-system in SublimeText2</strong></p>
  
  <pre><code>{
  "cmd": ["go","run", "${file}"],
  "working_dir": "${file_path}",
  "selector": "source.go, source.g"
  }
  </code></pre>
  
  <p>but when i execute my script in the terminal the go-compiler can find the package and it is <strong><em>succesfully</em></strong> executed. And i have noticed that the GOPATH is reseted after reboot or after a while by itself :/</p>
  
  <p><strong>My Go env:</strong></p>
  
  <pre><code>GOARCH="amd64"
  GOBIN=""
  GOCHAR="6"
  GOEXE=""
  GOGCCFLAGS="-g -O2 -fPIC -m64 -pthread"
  GOHOSTARCH="amd64"
  GOHOSTOS="linux"
  GOOS="linux"
  GOPATH="/home/daggi/gocode/"
  GOROOT="/usr/lib/go"
  GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
  CGO_ENABLED="1"
  </code></pre>
  
  <p>I think it is a path/environment problem of SublimeText2 but i dont know.</p>
  
  <p>Thank you.</p>