List provides access to an attribute of type List. Each element of the list is an DynamoDBAttributeValue itself. Method panics if the attribute is not of type List.
()
| 47 | // of the list is an DynamoDBAttributeValue itself. |
| 48 | // Method panics if the attribute is not of type List. |
| 49 | func (av DynamoDBAttributeValue) List() []DynamoDBAttributeValue { |
| 50 | av.ensureType(DataTypeList) |
| 51 | return av.value.([]DynamoDBAttributeValue) |
| 52 | } |
| 53 | |
| 54 | // Map provides access to an attribute of type Map. They Keys are strings |
| 55 | // and the values are DynamoDBAttributeValue instances. |