Skip to content

danteay/lamway

Repository files navigation

Lamway

Is a manage layer implementation for AWS Lambda functions using API Gateway v1 or v2.

It provides a way to use go base http.Handler instances to manage all needed HTTP paths on the same lambda.

Requirements

  • Go >= 1.20

Installation

go get github.com/danteay/lamway

Example

Development Tasks

This project uses go-task to run common tasks. After installing go-task (or using the provided Nix flake), you can run:

  • task install # Download Go module dependencies
  • task pre-commit # Install pre-commit hooks
  • task vet # Run go vet checks
  • task lint # Run revive linter (depends on vet)
  • task format # Format code using gofmt
  • task test # Run unit tests with race and coverage
  • task cover # Open HTML coverage report (runs tests first)

If you use Nix, enter the dev shell with:

nix develop

Otherwise, install go-task from https://taskfile.dev.

Credits

About

Simple manage layer for AWS lambdas using API Gateway V2 or V2 with golang

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •