https://github.com/grokify/go-awslambda
Helper code for AWS Lambda in Go
https://github.com/grokify/go-awslambda
Last synced: 2 months ago
JSON representation
Helper code for AWS Lambda in Go
- Host: GitHub
- URL: https://github.com/grokify/go-awslambda
- Owner: grokify
- License: mit
- Created: 2021-07-23T07:56:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-09-21T20:13:21.000Z (3 months ago)
- Last Synced: 2025-10-03T19:57:00.714Z (2 months ago)
- Language: Go
- Homepage:
- Size: 98.6 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go AWS Lambda Utils
[![Build Status][build-status-svg]][build-status-url]
[![Lint Status][lint-status-svg]][lint-status-url]
[![Go Report Card][goreport-svg]][goreport-url]
[![Docs][docs-godoc-svg]][docs-godoc-url]
[![License][license-svg]][license-url]
## Overview
`awslambda` is helper package for AWS Lambda on Go.
See the docs on [pkg.go.dev](https://pkg.go.dev/github.com/grokify/go-awslambda).
## Installation
```bash
$ go get github.com/grokify/go-awslambda/...
```
## Usage
* `NewHTTPRequest()` can be used to create an `*http.Request` given an `events.APIGatewayProxyRequest`.
* `NewReaderMultipart()` can be used to create an `*multipart.Reader` given an `events.APIGatewayProxyRequest`.
See the multipart example here:
[`examples/multipart/main.go`](examples/multipart/main.go)
A description is available on Stack Overflow here:
https://stackoverflow.com/a/68496889/1908967
## More Info
1. [amazon.com: Set up Lambda proxy integrations in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html#api-gateway-simple-proxy-for-lambda-input-format)
## Contributing
Features, Issues, and Pull Requests are always welcome.
To contribute:
1. Fork it ( http://github.com/grokify/go-awslambda/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
Please report issues and feature requests on [Github](https://github.com/grokify/go-awslambda).
[used-by-svg]: https://sourcegraph.com/github.com/grokify/go-awslambda/-/badge.svg
[used-by-url]: https://sourcegraph.com/github.com/grokify/go-awslambda?badge
[build-status-svg]: https://github.com/grokify/go-awslambda/actions/workflows/ci.yaml/badge.svg?branch=master
[build-status-url]: https://github.com/grokify/go-awslambda/actions/workflows/ci.yaml
[lint-status-svg]: https://github.com/grokify/go-awslambda/actions/workflows/lint.yaml/badge.svg?branch=master
[lint-status-url]: https://github.com/grokify/go-awslambda/actions/workflows/lint.yaml
[goreport-svg]: https://goreportcard.com/badge/github.com/grokify/go-awslambda
[goreport-url]: https://goreportcard.com/report/github.com/grokify/go-awslambda
[docs-godoc-svg]: https://pkg.go.dev/badge/github.com/grokify/go-awslambda
[docs-godoc-url]: https://pkg.go.dev/github.com/grokify/go-awslambda
[license-svg]: https://img.shields.io/badge/license-MIT-blue.svg
[license-url]: https://github.com/grokify/go-awslambda/blob/master/LICENSE