When I r.FormFile("name")
from the *http.Request
I get a file (f
), file header (fh
) and an error (err
). When I try to save the object into a bucket with :
service.Objects.Insert("bucketName", f).Do()
I get a mismatch of types, multipart.File
!= *storage.Object
I suspect I might have to io.Copy
...