Fix readme examples: Missing closing parenthesis. (#2)
This commit is contained in:
@@ -36,13 +36,13 @@ resp, err := s3.FileUpload(simples3.UploadInput{
|
|||||||
ContentType: "text/plain",
|
ContentType: "text/plain",
|
||||||
FileName: "test.txt",
|
FileName: "test.txt",
|
||||||
Body: testTxt,
|
Body: testTxt,
|
||||||
}
|
})
|
||||||
|
|
||||||
// Similarly, Files can be deleted.
|
// Similarly, Files can be deleted.
|
||||||
err := s3.FileDelete(simples3.DeleteInput{
|
err := s3.FileDelete(simples3.DeleteInput{
|
||||||
Bucket: os.Getenv("AWS_S3_BUCKET"),
|
Bucket: os.Getenv("AWS_S3_BUCKET"),
|
||||||
ObjectKey: "test.txt",
|
ObjectKey: "test.txt",
|
||||||
}
|
})
|
||||||
|
|
||||||
// You can also use this library to generate
|
// You can also use this library to generate
|
||||||
// Presigned URLs that can for eg. be used to
|
// Presigned URLs that can for eg. be used to
|
||||||
|
|||||||
Reference in New Issue
Block a user