In the root project folder run the following command
$ go get github.com/tools/godep
and run
$ godep save
heroku login
$ heroku login
Enter your Heroku credentials.
Email: [email protected]
Password (typing will be hidden):
Logged in as [email protected]
add code and dependencies, like
$ git add -A .
$ git commit -m "code and deps"
create a heroku app
$ heroku create appname
now deploy your app
$ git push heroku master
visit the app deployed
$ heroku open
❤️