1
0
Fork 0
mirror of https://github.com/Luzifer/cloudkeys-go.git synced 2024-11-14 00:42:44 +00:00
cloudkeys-go/vendor/github.com/aws/aws-sdk-go/example/service/s3/concatObjects
Knut Ahlers 7581358922
Switch to dep for vendoring, update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-08 13:03:10 +01:00
..
concatObjects.go Switch to dep for vendoring, update dependencies 2017-12-08 13:03:10 +01:00
README.md Switch to dep for vendoring, update dependencies 2017-12-08 13:03:10 +01:00

Example

This is an example using the AWS SDK for Go to concatenate two objects together. We use UploadPartCopy which uses an object for a part. Here in this example we have two parts, or in other words two objects that we want to concatenate together.

Usage

The example uses the bucket name provided, two keys for each object, and lastly the output key.

AWS_REGION=<region> go run -tags example concatenateObjects.go <bucket> <key for object 1> <key for object 2> <key for output>