github.com/aavshr/aws-sdk-go@v1.41.3/example/service/s3/concatObjects/README.md (about)

     1  # Example
     2  
     3  This is an example using the AWS SDK for Go to concatenate two objects together.
     4  We use `UploadPartCopy` which uses an object for a part. Here in this example we have two parts, or in other words
     5  two objects that we want to concatenate together.
     6  
     7  
     8  # Usage
     9  
    10  The example uses the bucket name provided, two keys for each object, and lastly the output key.
    11  
    12  ```sh
    13  AWS_REGION=<region> go run -tags example concatObjects.go <bucket> <key for object 1> <key for object 2> <key for output>
    14  ```