{"id":21888626,"url":"https://github.com/swisscom/cf-sample-app-go-dep","last_synced_at":"2026-07-03T00:33:20.824Z","repository":{"id":70508238,"uuid":"139950603","full_name":"swisscom/cf-sample-app-go-dep","owner":"swisscom","description":"A sample Go application to deploy to Cloud Foundry using dep","archived":false,"fork":false,"pushed_at":"2018-07-09T10:25:53.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":33,"default_branch":"master","last_synced_at":"2024-05-01T20:03:20.342Z","etag":null,"topics":["appcloud","go-dep","golang","swisscom"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swisscom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-06T07:42:10.000Z","updated_at":"2018-07-09T10:25:55.000Z","dependencies_parsed_at":"2023-03-06T21:15:37.114Z","dependency_job_id":null,"html_url":"https://github.com/swisscom/cf-sample-app-go-dep","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/swisscom/cf-sample-app-go-dep","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fcf-sample-app-go-dep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fcf-sample-app-go-dep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fcf-sample-app-go-dep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fcf-sample-app-go-dep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swisscom","download_url":"https://codeload.github.com/swisscom/cf-sample-app-go-dep/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fcf-sample-app-go-dep/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265497976,"owners_count":23777093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appcloud","go-dep","golang","swisscom"],"created_at":"2024-11-28T11:16:15.944Z","updated_at":"2025-11-05T23:03:51.603Z","avatar_url":"https://github.com/swisscom.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cf-sample-app-go-dep\nA sample [Go](https://golang.org/) application to deploy to Cloud Foundry using\n[dep](https://github.com/golang/dep)\n\nThis basic example uses a custom router and serves 2 endpoints\n`/health` and `/` it uses the environment var `VERSION` defined in the\n[manifest.yml](manifest.yml) the one later is returned when querying the\n`/health` endpoint.\n\nThe application has the following structure:\n\n    |-- app\n    |     `--hello\n    |       `--hello.go\n    |-- health.go\n    |-- main.go\n    `-- manifest.yml\n\n# How to use it\n\nInstall and set your [GO environment](https://golang.org/doc/install)\n\nFor example using $HOME/go for your workspace\n\n    $ export GOPATH=$HOME/go\n\nCreate the directory:\n\n    $ mkdir -p $HOME/go/src/github.com/swisscom\n\nClone project into that directory:\n\n    $ git clone https://github.com/swisscom/cf-sample-app-go-dep.git $HOME/go/src/github.com/swisscom/cf-sample-app-go-dep\n\n\u003e [git](https://git-scm.com/) is required to clone the repository.\n\nTo test the app locally before deploying it in to app-cloud, build it by just typing make:\n\n    $ cd $HOME/go/src/github.com/swisscom/cf-sample-app-go-dep\n    $ make\n\nAfter make finishes you can run the app:\n\n    $ ./cf-sample-app-go-dep\n    2018/07/06 13:39:12 Adding path: /health [ALL]\n    2018/07/06 13:39:12 Adding path: / [ALL]\n\n\u003e This steps requires [dep](https://github.com/golang/dep)\n\nVisit [http://localhost:8080](http://localhost:8080)\n\n## Deploying the app to app-cloud\n\nIf you tested locally, remove the `vendor` directory or simply use:\n\n    $ make clean\n\nThen just use:\n\n    $ cf push\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswisscom%2Fcf-sample-app-go-dep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswisscom%2Fcf-sample-app-go-dep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswisscom%2Fcf-sample-app-go-dep/lists"}