MCPcopy Index your code
hub / github.com/aws/aws-lambda-go / List

Method List

events/attributevalue.go:49–52  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

47// of the list is an DynamoDBAttributeValue itself.
48// Method panics if the attribute is not of type List.
49func (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.

Callers 2

TestUnmarshalListFunction · 0.95

Calls 1

ensureTypeMethod · 0.95

Tested by 2

TestUnmarshalListFunction · 0.76