awslabs / aws-lambda-go-api-proxy

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.
Apache License 2.0
1.05k stars 197 forks source link

Fix https://github.com/awslabs/aws-lambda-go-api-proxy/issues/14 #15

Closed raff closed 6 years ago

raff commented 6 years ago

Issue #, if available: #14

Description of changes: Use bytes.Buffer to store the response write, instead of storing only the last Write.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

sapessi commented 6 years ago

Nice, thank you!