debian-forge-composer/vendor/cloud.google.com/go/storage
Ondřej Budai 19a3bdf450 go: update most dependencies to the latest version
It's a lot of work for dependabot for our outdated deps, let's
help it by making one huge manual update.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-09-05 12:50:02 +01:00
..
internal/apiv2 go: update most dependencies to the latest version 2021-09-05 12:50:02 +01:00
acl.go go: update most dependencies to the latest version 2021-09-05 12:50:02 +01:00
bucket.go go: update most dependencies to the latest version 2021-09-05 12:50:02 +01:00
CHANGES.md go: update most dependencies to the latest version 2021-09-05 12:50:02 +01:00
copy.go internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
doc.go go: update most dependencies to the latest version 2021-09-05 12:50:02 +01:00
go.mod go: update most dependencies to the latest version 2021-09-05 12:50:02 +01:00
go.sum go: update most dependencies to the latest version 2021-09-05 12:50:02 +01:00
go_mod_tidy_hack.go go: update most dependencies to the latest version 2021-09-05 12:50:02 +01:00
hmac.go internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
iam.go internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
invoke.go go: update most dependencies to the latest version 2021-09-05 12:50:02 +01:00
LICENSE internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
notifications.go internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
post_policy_v4.go go: update most dependencies to the latest version 2021-09-05 12:50:02 +01:00
reader.go go: update most dependencies to the latest version 2021-09-05 12:50:02 +01:00
README.md go: update most dependencies to the latest version 2021-09-05 12:50:02 +01:00
storage.go go: update most dependencies to the latest version 2021-09-05 12:50:02 +01:00
storage.replay internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
writer.go go: update most dependencies to the latest version 2021-09-05 12:50:02 +01:00

Cloud Storage Go Reference

Example Usage

First create a storage.Client to use throughout your application:

client, err := storage.NewClient(ctx)
if err != nil {
	log.Fatal(err)
}
// Read the object1 from bucket.
rc, err := client.Bucket("bucket").Object("object1").NewReader(ctx)
if err != nil {
	log.Fatal(err)
}
defer rc.Close()
body, err := ioutil.ReadAll(rc)
if err != nil {
	log.Fatal(err)
}