Int64 provides access to an attribute of type Number. DynamoDB sends the values as strings. For convenience this method provides conversion to int. Method panics if the attribute is not of type Number.
()
| 73 | // provides conversion to int. |
| 74 | // Method panics if the attribute is not of type Number. |
| 75 | func (av DynamoDBAttributeValue) Int64() (int64, error) { |
| 76 | number := av.Number() |
| 77 | return strconv.ParseInt(number, 10, 64) |
| 78 | } |
| 79 | |
| 80 | // Integer provides access to an attribute of type Number. |
| 81 | // DynamoDB sends the values as strings. For convenience this method |