The OSS Go SDK provides several methods for downloading files. You can choose a method based on your scenario:
Use streaming download to process data incrementally while the file is downloading. For more information, see Streaming download (Go SDK V1).
Use range download to download only part of a file. For more information, see Range download (Go SDK V1).
Download a file from a bucket to a local file. For more information, see Download to a local file (Go SDK V1).
Use resumable download to reliably download a large file. For more information, see Resumable download (Go SDK V1).
Use a presigned URL to grant others temporary authorization to download a file from a bucket. For more information, see Download with a presigned URL (Go SDK V1).