lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin (https://gin-gonic.github.io/gin/ ) to AWS Lambda and Amazon API Gateway.
Description of changes:
Context got from request in http.HandlerFunc is not the one passed as the parameter of ProxyWithContext. It is replaced a new one.
I fixed it to use the context passed as the parameter.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available: https://github.com/awslabs/aws-lambda-go-api-proxy/issues/27
Description of changes: Context got from request in
http.HandlerFunc
is not the one passed as the parameter of ProxyWithContext. It is replaced a new one. I fixed it to use the context passed as the parameter.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.