Fix typos in DynamoDB example README
@@ -12,7 +12,7 @@ type ItemGetter struct {
}
```
-## Querying actual DyanmoDB
+## Querying actual DynamoDB
You'll need an `*aws.Config` and `*session.Session` for these to work correctly:
```go
// Setup
@@ -22,7 +22,7 @@ var sess *session.Session = session.NewSession(config)
var svc *dynamodb.DynamoDB = dynamodb.New()
getter.DynamoDB = dynamodbiface.DynamoDBAPI(svc)
// Finally
-getter.DyanmoDB.GetItem(/* ... */)
+getter.DynamoDB.GetItem(/* ... */)
```
## Querying in tests
@@ -37,7 +37,7 @@ type fakeDynamoDB struct {
var getter = new(ItemGetter)
getter.DynamoDB = &fakeDynamoDB{}
// And to run it (assuming you've mocked fakeDynamoDB.GetItem)
-getter.DyanmoDB.GetItem(/* ... */)
+getter.DynamoDB.GetItem(/* ... */)
```
## Output
