1# Example 2 3This is an example using the AWS SDK for Go to download an S3 object with a 4progress bar. 5 6# Usage 7 8The example uses the bucket name provided, one key for object, and output the 9progress to stdout. 10 11```prompt 12AWS_PROFILE=my-profile AWS_REGION=us-west-2 go run -tags example getObjectWithProgress.go cool-bucket my/object/prefix/cool_thing.zip 13 142019/02/22 13:04:52 File size is: 35.9 MB 152019/02/22 13:04:53 File size:35943530 downloaded:8580 percentage:0% 162019/02/22 13:04:53 File size:35943530 downloaded:17580 percentage:0% 172019/02/22 13:04:53 File size:35943530 downloaded:33940 percentage:0% 182019/02/22 13:04:53 File size:35943530 downloaded:34988 percentage:0% 192019/02/22 13:04:53 File size:35943530 downloaded:51348 percentage:0% 202019/02/22 13:04:53 File size:35943530 downloaded:52396 percentage:0% 21... 22``` 23