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

     1  # Example
     2  
     3  This is an example using the AWS SDK for Go to upload object with progress.
     4  We use CustomReader to implement it
     5  
     6  
     7  # Usage
     8  
     9  The example uses the bucket name provided, one key for object, and output the progress to stdout.
    10  The Object size should larger than 5M or your will not see the progress
    11  
    12  ```sh
    13  AWS_REGION=<region> go run -tags example putObjWithProcess.go <bucket> <key for object> <local file name>
    14  ```