I've checked UploadInput type in the package
It has this part
// Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"`
// Allows grantee to read the object data and its metadata.
GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string"`
// Allows grantee to read the object ACL.
GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string"`
// Allows grantee to write the ACL for the applicable object.
GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"`
How do I use GrantRead in my following request?
result, err := uploader.Upload(&s3manager.UploadInput{
Bucket: aws.String(Conf.AWS_S3_BUCKET),
Key: &filename,
Body: f,
})
I'm trying to make my files public to READ