{"id":20731591,"url":"https://github.com/datumbrain/go-serverless-aws-lambda-example","last_synced_at":"2025-03-11T10:24:47.762Z","repository":{"id":127810984,"uuid":"424186472","full_name":"datumbrain/go-serverless-aws-lambda-example","owner":"datumbrain","description":"This repository shows how can we use `AWS Lambda` to build serverless applications in golang.","archived":false,"fork":false,"pushed_at":"2021-11-03T11:57:36.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-18T00:29:00.553Z","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/datumbrain.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":"2021-11-03T10:52:30.000Z","updated_at":"2021-11-03T11:57:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"7d3cb4fe-e716-4e86-a00e-914a70ba3f38","html_url":"https://github.com/datumbrain/go-serverless-aws-lambda-example","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/datumbrain%2Fgo-serverless-aws-lambda-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datumbrain%2Fgo-serverless-aws-lambda-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datumbrain%2Fgo-serverless-aws-lambda-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datumbrain%2Fgo-serverless-aws-lambda-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datumbrain","download_url":"https://codeload.github.com/datumbrain/go-serverless-aws-lambda-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243013327,"owners_count":20221714,"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-17T05:16:04.362Z","updated_at":"2025-03-11T10:24:47.731Z","avatar_url":"https://github.com/datumbrain.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless Api in Go with AWS Lambda\nHere we are going to use `AWS Lambda` to build serverless applications in golang.\n\n## Prerequisites\n- You’ll need an AWS account for this. If you don’t yet have one, [sign up for a free account here](https://aws.amazon.com/free/?all-free-tier.sort-by=item.additionalFields.SortRank\u0026all-free-tier.sort-order=asc\u0026awsf.Free%20Tier%20Types=*all\u0026awsf.Free%20Tier%20Categories=*all).\n- If you don’t have Go installed yet, you can either [download an installer](https://golang.org/dl/) from the official website or use your favorite package manager to install it.\n- For building and deploying your functions, you’ll be using the `Serverless Framework`. Assuming you have a recent version of [Node.js](https://nodejs.org/en/) installed, you can install the `Serverless CLI` with the following npm command\n\t\n\t```console\n\t  $ npm install -g serverless\n\t```\n\tOnce you have the Serverless CLI installed, you must configure it to use the AWS access keys of your account\n\t```console\n\t  $ serverless config credentials --provider aws --key \u003caccess key ID\u003e --secret \u003csecret access key\u003e\n\t```\n## Build\n```console\n  $ GOOS=linux GOARCH=amd64  go build -o bin/lambda-time .\n```\n## Deploy\n```console\n  $ serverless deploy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatumbrain%2Fgo-serverless-aws-lambda-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatumbrain%2Fgo-serverless-aws-lambda-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatumbrain%2Fgo-serverless-aws-lambda-example/lists"}