Skip to content

Commit a8f2363

Browse files
authored
Fix README example
The README example missed an import, and used the wrong casing for `TableName` field.
1 parent ac26486 commit a8f2363

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ This example shows how you can use the v2 SDK to make an API request using the S
3030
package main
3131

3232
import (
33+
"github.com/aws/aws-sdk-go-v2/aws"
3334
"github.com/aws/aws-sdk-go-v2/aws/endpoints"
3435
"github.com/aws/aws-sdk-go-v2/aws/external"
3536
"github.com/aws/aws-sdk-go-v2/service/dynamodb"
@@ -52,7 +53,7 @@ func main() {
5253

5354
// Build the request with its input parameters
5455
req := svc.DescribeTableRequest(&dynamodb.DescribeTableInput{
55-
Tablename: aws.String("myTable"),
56+
TableName: aws.String("myTable"),
5657
})
5758

5859
// Send the request, and get the response or error back

0 commit comments

Comments
 (0)