Number provides access to an attribute of type Number. DynamoDB sends the values as strings. For convenience please see also the methods Integer() and Float(). Method panics if the attribute is not of type Number.
()
| 64 | // the methods Integer() and Float(). |
| 65 | // Method panics if the attribute is not of type Number. |
| 66 | func (av DynamoDBAttributeValue) Number() string { |
| 67 | av.ensureType(DataTypeNumber) |
| 68 | return av.value.(string) |
| 69 | } |
| 70 | |
| 71 | // Int64 provides access to an attribute of type Number. |
| 72 | // DynamoDB sends the values as strings. For convenience this method |