From 040d4c6a4ab3af3521aa74eb8fc4ef6edacb8284 Mon Sep 17 00:00:00 2001 From: gibKim Date: Sat, 28 Nov 2026 15:41:40 +0900 Subject: [PATCH] docs(events): clarify DynamoDBAttributeValue.String behavior --- events/attributevalue.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/events/attributevalue.go b/events/attributevalue.go index 609bce77..b7075fcd 100644 --- a/events/attributevalue.go +++ b/events/attributevalue.go @@ -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)