{"id":20037593,"url":"https://github.com/mrdulin/serverless-functions-go","last_synced_at":"2025-10-26T17:18:11.947Z","repository":{"id":98462556,"uuid":"202064736","full_name":"mrdulin/serverless-functions-go","owner":"mrdulin","description":"Better serverless architecture for deploying easily using Cloud Run, Cloud Functions, GKE,  even a web server","archived":false,"fork":false,"pushed_at":"2019-08-21T14:22:35.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-30T10:36:07.959Z","etag":null,"topics":["architecture","clean-architecture","cloud","cloud-functions","cloud-run","go","golang","google-adwords","serverless","serverless-functions"],"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/mrdulin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-13T04:32:57.000Z","updated_at":"2019-08-21T14:22:37.000Z","dependencies_parsed_at":"2023-06-01T20:30:40.104Z","dependency_job_id":null,"html_url":"https://github.com/mrdulin/serverless-functions-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrdulin/serverless-functions-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdulin%2Fserverless-functions-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdulin%2Fserverless-functions-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdulin%2Fserverless-functions-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdulin%2Fserverless-functions-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrdulin","download_url":"https://codeload.github.com/mrdulin/serverless-functions-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdulin%2Fserverless-functions-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272839630,"owners_count":25001860,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["architecture","clean-architecture","cloud","cloud-functions","cloud-run","go","golang","google-adwords","serverless","serverless-functions"],"created_at":"2024-11-13T10:20:26.923Z","updated_at":"2025-10-26T17:18:11.875Z","avatar_url":"https://github.com/mrdulin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# serverless-functions-go\n\n## Deploy\n\n### Deploy on Cloud Run\n\n1. Build docker image using `Dockerfile.cloudrun` file\n\n```bash\ndocker build -f Dockerfile.cloudrun -t sls-fn-go .\n```\n\n2. Push the docker image to docker registry\n\nFor example, using `GCR`\n\n```bash\ndocker tag sls-fns-go gcr.io/${projectId}/sls-fns-go\n```\n\n```bash\ndocker push gcr.io/${projectId}/sls-fns-go\n```\n\n3. Deploy using `gcloud` sdk\n\nMake sure the version of `gcloud` sdk is `251.0.0`, it seems there is an issue about latest version(`253.0.0`) when deploy resource on cloud run\n\n```bash\ngcloud components update --version 251.0.0\n```\n\ndeploy shell script [here](./scripts/cloud-run/deploy.sh)\n\n### Deploy as Cloud Functions\n\n`cd` to the root directory of the cloud function, for example:\n\n```bash\ncd ./infrastructure/functions/getAdPerformanceReport\n```\n\nRun `./deploy.sh` script:\n\n```bash\n./deploy.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrdulin%2Fserverless-functions-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrdulin%2Fserverless-functions-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrdulin%2Fserverless-functions-go/lists"}