awslambda
is helper package for AWS Lambda on Go.
See the docs on pkg.go.dev.
$ go get github.com/grokify/go-awslambda/...
NewHTTPRequest()
can be used to create an*http.Request
given anevents.APIGatewayProxyRequest
.NewReaderMultipart()
can be used to create an*multipart.Reader
given anevents.APIGatewayProxyRequest
.
See the multipart example here:
A description is available on Stack Overflow here:
https://stackoverflow.com/a/68496889/1908967
Features, Issues, and Pull Requests are always welcome.
To contribute:
- Fork it ( http://github.com/grokify/go-awslambda/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Please report issues and feature requests on Github.