Simple Go script demonstrating use of the Heroku Platform API app-setups resource

How to use:

$ git clone git@github.com:balansubr/app-setups-go-example.git
...
$ go build setup.go

./setup -apikey <api key> -archive https://github.com/balansubr/ruby-rails-sample/tarball/master/
--> Created app fierce-reef-7523
----> App ID:42006200-c4ce-415e-8b76-8ce5ed7d960d
----> Setting up config vars and add-ons......Done.
--> Build 4880aded-9ec9-4f4c-8365-9f121830a276 pending.....................................
----> Build succeeded
.........
--> Postdeploy script completed with exit code 0
--> App setup complete.

You can get your api key by running heroku auth:token or from the account page on Dashboard.