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.
- Go >= 1.20
go get github.com/danteay/lamwayThis 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 developOtherwise, install go-task from https://taskfile.dev.
- Based on apex/gateway