Skip to content

'RequestId' to 'RequestID' in Golang Example#241

Merged
devlinbd2 merged 1 commit into
awsdocs:mainfrom
shahnitav:patch-1
Feb 11, 2021
Merged

'RequestId' to 'RequestID' in Golang Example#241
devlinbd2 merged 1 commit into
awsdocs:mainfrom
shahnitav:patch-1

Conversation

@shahnitav

Copy link
Copy Markdown
Contributor

In the Golang Lambda Handler for API Gateway, the RequestContext has no field as RequestId, so based on https://github.com/aws/aws-lambda-go/blob/v1.22.0/events/apigw.go#L32, field needs to be changed to 'RequestID'

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

In the Golang Lambda Handler for API Gateway, the RequestContext has no field as RequestId, so based on https://github.com/aws/aws-lambda-go/blob/v1.22.0/events/apigw.go#L32, field needs to be changed to 'RequestID'
@devlinbd2 devlinbd2 merged commit b6cd7d3 into awsdocs:main Feb 11, 2021
@devlinbd2

Copy link
Copy Markdown
Contributor

Thank you for providing the correction to the Golang example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants