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

Replacing -1 with defaultStatusCode #51

Closed mousedownmike closed 4 years ago

mousedownmike commented 4 years ago

defaultStatusCode is used elsewhere in place of -1. Looks like one value in the Write method was missed. This cleans that up.

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