{"id":19481775,"url":"https://github.com/apex/apex-go","last_synced_at":"2025-04-09T13:06:53.813Z","repository":{"id":57486523,"uuid":"50468566","full_name":"apex/apex-go","owner":"apex","description":"Golang runtime for Apex/Lambda.","archived":false,"fork":false,"pushed_at":"2018-01-18T00:00:47.000Z","size":70,"stargazers_count":292,"open_issues_count":16,"forks_count":31,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-04-02T11:07:06.855Z","etag":null,"topics":["apex","golang","lambda","serverless"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apex.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-27T00:08:36.000Z","updated_at":"2024-09-27T01:45:20.000Z","dependencies_parsed_at":"2022-09-01T21:02:13.731Z","dependency_job_id":null,"html_url":"https://github.com/apex/apex-go","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apex%2Fapex-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apex%2Fapex-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apex%2Fapex-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apex%2Fapex-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apex","download_url":"https://codeload.github.com/apex/apex-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248045231,"owners_count":21038553,"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":["apex","golang","lambda","serverless"],"created_at":"2024-11-10T20:06:32.266Z","updated_at":"2025-10-14T12:11:24.313Z","avatar_url":"https://github.com/apex.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Apex Golang\n\nGolang runtime support for Apex/Lambda – providing handlers for Lambda sources, and runtime requirements such as implementing the Node.js shim stdio interface.\n\n__NOTE__: `apex` v1.x supports native Go, so you should use https://github.com/aws/aws-lambda-go instead of this package.\n\n## Features\n\nCurrently supports:\n\n- Node.js shim\n- Environment variable population\n- Arbitrary JSON\n- CloudWatch Logs\n- Cognito\n- Kinesis\n- Dynamo\n- S3\n- SNS\n- SES\n\n## Example\n\n```go\npackage main\n\nimport (\n  \"encoding/json\"\n  \"strings\"\n\n  \"github.com/apex/go-apex\"\n)\n\ntype message struct {\n  Value string `json:\"value\"`\n}\n\nfunc main() {\n  apex.HandleFunc(func(event json.RawMessage, ctx *apex.Context) (interface{}, error) {\n    var m message\n\n    if err := json.Unmarshal(event, \u0026m); err != nil {\n      return nil, err\n    }\n\n    m.Value = strings.ToUpper(m.Value)\n\n    return m, nil\n  })\n}\n```\n\nRun the program:\n\n```\necho '{\"event\":{\"value\":\"Hello World!\"}}' | go run main.go\n{\"value\":{\"value\":\"HELLO WORLD!\"}}\n```\n\n## Notes\n\n Due to the Node.js [shim](http://apex.run/#understanding-the-shim) required to run Go in Lambda, you __must__ use stderr for logging – stdout is reserved for the shim.\n\n## Badges\n\n[![Build Status](https://semaphoreci.com/api/v1/projects/66c27cb2-5e00-469e-bfa0-b577cac48053/675168/badge.svg)](https://semaphoreci.com/tj/go-apex)\n[![GoDoc](https://godoc.org/github.com/apex/go-apex?status.svg)](https://godoc.org/github.com/apex/go-apex)\n![](https://img.shields.io/badge/license-MIT-blue.svg)\n![](https://img.shields.io/badge/status-stable-green.svg)\n[![](http://apex.sh/images/badge.svg)](https://apex.sh/ping/)\n\n---\n\n\u003e [tjholowaychuk.com](http://tjholowaychuk.com) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e GitHub [@tj](https://github.com/tj) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e Twitter [@tjholowaychuk](https://twitter.com/tjholowaychuk)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapex%2Fapex-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapex%2Fapex-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapex%2Fapex-go/lists"}