Cant unmarshall dynamodb attribute
问题 I'm experimenting with AWS-SDK-GO with the DynamoDB API... I'm trying to query the db and return a string. But I'm having some issues unmarshelling the return value.... struct type Item struct { slug string destination string } query function input := &dynamodb.GetItemInput{ Key: map[string]*dynamodb.AttributeValue{ "slug": { S: aws.String(slug), }, }, TableName: db.TableName, } result, err := db.dynamo.GetItem(input) if err != nil { return "", err } n := Item{} err = dynamodbattribute