Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions events/attributevalue.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ func (av DynamoDBAttributeValue) NumberSet() []string {
return av.value.([]string)
}

// String provides access to an attribute of type String.
// Method panics if the attribute is not of type String.
// String returns the underlying value for a String attribute.
// For other attribute types, it returns a formatted representation of the attribute.
func (av DynamoDBAttributeValue) String() string {
if av.dataType == DataTypeString {
return av.value.(string)
Expand Down
Loading