mirror of
https://github.com/swisscom/cf-sample-app-go.git
synced 2026-12-04 13:38:42 +00:00
A sample Go application to deploy to Cloud Foundry which works out of the box. | Read-only mirror of https://github.com/swisscom/cf-sample-app-go — Swisscom. Issues & pull requests at the source.
- Go 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| go.mod | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
CF Sample App Go
A sample Go application to deploy to Cloud Foundry which works out of the box.
Run locally
- Install Go
- Run
go run main.go - Visit http://localhost:8080
Run in the cloud
- Run
cf push my-go-app -m 128M --random-route - Visit the given URL