I am currently trying to deploy a Go application to Heroku using wercker. Heroku expects the main.go to be at the repository root directory but if possible I would like my repository directory to look something like this.
project/ cmd/ my-server/ main.go lib1/ lib2/ Procfile ...
Ideally, I would like the Procfile look something like this:
web: my-server -port $PORT
I have read this article but since I'm using the wercker Go box to deploy to Heroku, I'm not sure what's the best way to configure this. Anyone that has successfully deployed a application like this?