MCPcopy
hub / github.com/aws/aws-lambda-go / Int64

Method Int64

events/attributevalue.go:75–78  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

73// provides conversion to int.
74// Method panics if the attribute is not of type Number.
75func (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

Callers 1

IntegerMethod · 0.95

Calls 1

NumberMethod · 0.95

Tested by

no test coverage detected