(c Client)
| 14 | } |
| 15 | |
| 16 | func (sm setMember) toAV(c Client) map[string]dynamodb.AttributeValue { |
| 17 | av := sm.keyAV(c) |
| 18 | av[c.skN] = IntValue{rand.Int63()}.ToAV() |
| 19 | |
| 20 | return av |
| 21 | } |
| 22 | |
| 23 | func (sm setMember) keyAV(c Client) map[string]dynamodb.AttributeValue { |
| 24 | av := make(map[string]dynamodb.AttributeValue) |