Closed as not planned
Description
Describe the issue
Need to dereference the pointer
https://aws.github.io/aws-sdk-go-v2/docs/getting-started/#invoke-an-operation
The code snippet at the end:
log.Println("first page results:")
for _, object := range output.Contents {
log.Printf("key=%s size=%d", aws.ToString(object.Key), object.Size)
}
Should be:
log.Println("first page results:")
for _, object := range output.Contents {
log.Printf("key=%s size=%d", aws.ToString(object.Key), *object.Size)
}
Links
https://aws.github.io/aws-sdk-go-v2/docs/getting-started/#invoke-an-operation
AWS Go SDK V2 Module Versions Used
No response