(avm map[string]dynamodb.AttributeValue, c Client)
| 198 | } |
| 199 | |
| 200 | func parseKey(avm map[string]dynamodb.AttributeValue, c Client) keyDef { |
| 201 | return keyDef{ |
| 202 | pk: aws.StringValue(avm[c.pk].S), |
| 203 | sk: aws.StringValue(avm[c.sk].S), |
| 204 | } |
| 205 | } |
| 206 | |
| 207 | func parseItem(avm map[string]dynamodb.AttributeValue, c Client) (item itemDef) { |
| 208 | item.keyDef = parseKey(avm, c) |