title: Dependencies for Go app aren't installed through godep on Heroku
body: <p>I want to deploy Go application on Heroku, but I got an error like this:</p>
  
  <pre><code>remote: -----&gt; Go app detected
  remote: -----&gt; Checking Godeps/Godeps.json file.
  remote: -----&gt; Using go1.6.3
  remote:  !!    Installing package '.' (default)
  remote:  !!    
  remote:  !!    
  remote: -----&gt; Running: go install -v -tags heroku . 
  remote: main.go:9:2: cannot find package "github.com/go-martini/martini" in any of:
  remote:     /app/tmp/cache/go1.6.3/go/src/github.com/go-martini/martini (from $GOROOT)
  remote:     /tmp/build_3c0222e075a91a3363e590a0169d6fb6/.heroku/go/src/github.com/go-martini/martini (from $GOPATH)
  </code></pre>
  
  <p>It works on my local environment and I added dependencies to <code>Godeps/Godeps.json</code> with <code>godeps save</code> command. What's the problem? I noticed official <a href="https://github.com/heroku/go-getting-started" rel="nofollow">go-getting-started</a> repo has <code>vendor</code> folder, so does it mean I have to have all dependencies into my repository?</p>
  
  <p>This is my <code>Godeps/Godeps.json</code>:</p>
  
  <pre><code>{
      "ImportPath": "github.com/mikamikuh/oauth2-server-tester",
      "GoVersion": "go1.6",
      "GodepVersion": "v74",
      "Deps": [
          {
              "ImportPath": "github.com/codegangsta/inject",
              "Comment": "v1.0-rc1-10-g33e0aa1",
              "Rev": "33e0aa1cb7c019ccc3fbe049a8262a6403d30504"
          },
          {
              "ImportPath": "github.com/go-martini/martini",
              "Comment": "v1.0-185-gc257c41",
              "Rev": "c257c412d547ac70fcaf5596c1a50a7cb832c1fc"
          }
      ]
  }
  </code></pre>