Added set-n command to set number attributes
Also added the ability to set subattribes of maps
This commit is contained in:
parent
ed577dc53e
commit
e35855f05c
11 changed files with 223 additions and 194 deletions
|
|
@ -60,11 +60,13 @@ func SetupTestTable(t *testing.T, testData []TestData) (*dynamodb.Client, func()
|
|||
}
|
||||
}
|
||||
|
||||
return dynamoClient, func() {
|
||||
t.Cleanup(func() {
|
||||
for _, table := range testData {
|
||||
dynamoClient.DeleteTable(ctx, &dynamodb.DeleteTableInput{
|
||||
TableName: aws.String(table.TableName),
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
return dynamoClient, func() {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue