8000 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

82FF New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sapnaSpaceo opened this issue Dec 7, 2017 · 0 comments
Open

S3 put method #143

sapnaSpaceo opened this issue Dec 7, 2017 · 0 comments

Comments

@sapnaSpaceo
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0