Skip to content

Commit

Permalink
Merge pull request #241 from shahnitav/patch-1
Browse files Browse the repository at this point in the history
'RequestId' to 'RequestID' in Golang Example
  • Loading branch information
devlinbd2 authored Feb 11, 2021
2 parents e7e0573 + 33593b7 commit b6cd7d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc_source/services-apigateway-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ import (
)
func handleRequest(ctx context.Context, request events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error) {
fmt.Printf("Processing request data for request %s.\n", request.RequestContext.RequestId)
fmt.Printf("Processing request data for request %s.\n", request.RequestContext.RequestID)
fmt.Printf("Body size = %d.\n", len(request.Body))
fmt.Println("Headers:")
Expand All @@ -137,4 +137,4 @@ func handleRequest(ctx context.Context, request events.APIGatewayProxyRequest) (
}
```

Build the executable with `go build` and create a deployment package\. For instructions, see [Deploy Go Lambda functions with \.zip file archives](golang-package.md)\.
Build the executable with `go build` and create a deployment package\. For instructions, see [Deploy Go Lambda functions with \.zip file archives](golang-package.md)\.

0 comments on commit b6cd7d3

Please sign in to comment.