{"id":21273284,"url":"https://github.com/sclorg/golang-ex","last_synced_at":"2025-07-11T06:33:06.211Z","repository":{"id":41834700,"uuid":"147709323","full_name":"sclorg/golang-ex","owner":"sclorg","description":"A sample app that is built using the s2i golang builder","archived":false,"fork":false,"pushed_at":"2022-04-27T09:14:07.000Z","size":4,"stargazers_count":7,"open_issues_count":0,"forks_count":98,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-06-20T22:40:38.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sclorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-06T17:28:40.000Z","updated_at":"2024-06-20T07:21:07.000Z","dependencies_parsed_at":"2022-08-11T19:00:18.138Z","dependency_job_id":null,"html_url":"https://github.com/sclorg/golang-ex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fgolang-ex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fgolang-ex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fgolang-ex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fgolang-ex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sclorg","download_url":"https://codeload.github.com/sclorg/golang-ex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225700924,"owners_count":17510448,"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":[],"created_at":"2024-11-21T09:13:18.447Z","updated_at":"2024-11-21T09:13:18.997Z","avatar_url":"https://github.com/sclorg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Hello, OpenShift! ##\n\nA sample app that is built using the [S2I golang builder](https://github.com/sclorg/golang-container).\n\nThis example will serve an HTTP response of \"Hello OpenShift!\" written in Golang. It is also\nintended to be used with an evolving [Golang Source-to-Image builder image](https://github.com/sclorg/golang-container).\n\nOnce the image-stream is loaded into OpenShift, you can easily deploy it by doing:\n\n    $ oc new-app golang~https://github.com/sclorg/golang-ex.git\n\nNote: this is reused [example hello_openshift from OpenShift Origin](https://github.com/openshift/origin), separating it out will allow only the need to clone this example repo instead of all of the origin one.\n\nThe response message can be set by using the RESPONSE environment\nvariable.  You will need to edit the pod definition and add an\nenvironment variable to the container definition and run the new pod.\n\nThen you can re-create the pod as with the first example, get the new IP\naddress, and then curl will show your new message:\n\n    $ curl 10.1.0.2:8888\n     Hello World!\n\nTo test from external network, you need to create router. Please refer to [Running the router](https://github.com/openshift/origin/blob/master/docs/routing.md)\n\nThe container doesn't expose any ports, this will require you to expose it manually.\nFor example:\n\n    $ oc expose dc/golang-ex --port=8888\n\nand lastly if you want to expose a route, by doing:\n\n    $ oc expose service/golang-ex\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsclorg%2Fgolang-ex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsclorg%2Fgolang-ex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsclorg%2Fgolang-ex/lists"}