func getBucketAcl(c *s3.S3) { _, err := c.GetBucketACL( &s3.GetBucketACLInput{ Bucket: &bucket, }, ) if err != nil { panic(err) } }