Skip to content

grokify/go-awslambda

Repository files navigation

Go AWS Lambda Utils

Build Status Go Report Card Docs License

Overview

awslambda is helper package for AWS Lambda on Go.

See the docs on pkg.go.dev.

Installation

$ 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

A description is available on Stack Overflow here:

https://stackoverflow.com/a/68496889/1908967

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.