I ran into an issue a couple of days ago with the buildpack:
referenced in Mark McGranaghan's great tutorial on getting started with Go
The buildpack was copying over all of the contents $GOPATH to
$GOPATH/src/demoapp/ so I was ending up with paths that looked like:
which was failing when trying to import a second package via something like
"demoapp/models" since all the source now lived a couple of levels deeper.
I changed the buildpack and got things working, but I was just trying to
clarify if the misunderstanding was mine or if there was an actual problem
with the buildpack.
My code is structured so that I have:
and then all source lives in
and my second package is in
I issued a pull request for the change I made here:
Anyone else deploying Go on heroku run into something like this? Or have