{"id":24023578,"url":"https://github.com/yuanyu90221/golang_hello_lambda","last_synced_at":"2026-03-04T13:02:16.840Z","repository":{"id":230138421,"uuid":"626358534","full_name":"yuanyu90221/golang_hello_lambda","owner":"yuanyu90221","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-11T17:38:57.000Z","size":4874,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-08T14:21:28.470Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/yuanyu90221.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}},"created_at":"2023-04-11T10:01:35.000Z","updated_at":"2023-04-11T12:52:54.000Z","dependencies_parsed_at":"2024-03-28T03:45:32.532Z","dependency_job_id":"9bd823e6-3b5d-4b13-ad4b-90743adec486","html_url":"https://github.com/yuanyu90221/golang_hello_lambda","commit_stats":null,"previous_names":["yuanyu90221/golang_hello_lambda"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuanyu90221%2Fgolang_hello_lambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuanyu90221%2Fgolang_hello_lambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuanyu90221%2Fgolang_hello_lambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuanyu90221%2Fgolang_hello_lambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuanyu90221","download_url":"https://codeload.github.com/yuanyu90221/golang_hello_lambda/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240771907,"owners_count":19854982,"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":"2025-01-08T14:21:00.054Z","updated_at":"2025-11-20T13:03:52.800Z","avatar_url":"https://github.com/yuanyu90221.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# test for golang_lambda with localstack\n\n## prerequest\n\n1. run up a localstack\n2. pip install awslocal\n\n## usage\n\n```makefile\nPWD=$(shell pwd)\nbuild:\n\tGOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o main main.go\n\nzip_file: build\n\tzip main.zip main\n\ncreate_lambda: zip_file\n\tawslocal lambda create-function \\\n\t--function-name hello_v1 \\\n\t--runtime go1.x \\\n\t--zip-file fileb://${PWD}/main.zip \\\n\t--handler main \\\n\t--role arn:aws:iam::000000000000:role/lambda-role \\\n\t--region=us-east-1\n\ninvoke:\n\tawslocal lambda invoke --function-name hello_v1 --endpoint http://localhost:4566 --region=us-east-1 result.txt\ngetfunction:\n\tawslocal lambda get-function --function-name hello_v1 --endpoint-url=http://localhost:4566 --region=us-east-1\ndelfunction:\n\tawslocal lambda delete-function --function-name hello_v1 --endpoint-url=http://localhost:4566 --region=us-east-1\t\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuanyu90221%2Fgolang_hello_lambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuanyu90221%2Fgolang_hello_lambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuanyu90221%2Fgolang_hello_lambda/lists"}