This is a simple demonstration web app written in Go (martini framework) that easily runs on Cloud Foundry.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_vendor-20180402154843/github.com
vendor/github.com
Gopkg.lock
Gopkg.toml
Procfile
README.md
main.go
main_test.go
manifest.yml
test

README.md

Simple go web app

This is a simple demonstration web app written in Go (martini framework) that easily runs on Cloud Foundry.

Locally

go run main.go

Or to set the message:

MESSAGE="this is the message to display" go run main.go

Cloud Foundry

cf push myapp --no-start
cf set-env myapp MESSAGE "this is myapp"
cf start myapp