Skip to content

grokify/go-awslambda

Repository files navigation

Go AWS Lambda Utils

Build Status Lint 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

More Info

  1. amazon.com: Set up Lambda proxy integrations in API Gateway

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.

About

Helper code for AWS Lambda in Go

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages