Hi, goamz newbie here...
First of all thank you for this library! Without it I couldn't use Go (and be happier) to solve a problem here... :)
With goamz I'm coding something that need to copy of files between buckets.
So I have these two questions...
1) Is it safe to directly connect the io.ReadCloser from Bucket.GetReader to the Bucket.PutReader()?
something like this:
// Given size and mime type information I have stored somewhere else
var objectSize int64
var mimeType string
// hidden: src and dst init ...
rc, err := src.GetReader(sourcePath)
// hidden: err checking ...
err = dst.PutReader(destPath, rc, objectSize, mimeType, s3.Private)
// hidden: err checking ..
2) Using goamz, how can I get the metadata information for a given S3 object's path (size, mime type, ACL)?
thank you in advance!
Herbert