10000 S3 put method · Issue #143 · goamz/goamz · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
S3 put method #143
Open
Open
@sapnaSpaceo

Description

@sapnaSpaceo

Hello, Earlier I was using "launchpad.net/goamz/s3" but for my new project I am using "github.com/goamz/goamz/s3".
And there is change in put method of bucket now it has one more param "options"
[ region := aws.USEast2
connection := s3.New(AWSAuth, region)
bucket := connection.Bucket("XXXXX") // change this your bucket name
path := "mypath" // this is the target file and location in S3
//Save image to s3
err = bucket.Put(path,user_content,content_type, s3.ACL("public-read"), options)]
Above is my code. Can you help me what is expected in options and how I can get the value of that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0