Skip to content

Commit b6cd7d3

Browse files
authored
Merge pull request #241 from shahnitav/patch-1
'RequestId' to 'RequestID' in Golang Example
2 parents e7e0573 + 33593b7 commit b6cd7d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc_source/services-apigateway-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ import (
125125
)
126126
127127
func handleRequest(ctx context.Context, request events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error) {
128-
fmt.Printf("Processing request data for request %s.\n", request.RequestContext.RequestId)
128+
fmt.Printf("Processing request data for request %s.\n", request.RequestContext.RequestID)
129129
fmt.Printf("Body size = %d.\n", len(request.Body))
130130
131131
fmt.Println("Headers:")
@@ -137,4 +137,4 @@ func handleRequest(ctx context.Context, request events.APIGatewayProxyRequest) (
137137
}
138138
```
139139

140-
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)\.
140+
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 commit comments

Comments
 (0)