syzkaller/vendor/cloud.google.com/go/storage
Dmitry Vyukov 9573094ce2 go.mod: upgrade some dependencies
Since we started using modules, it's a good time to update some deps.
Update to latest official versions packages that have newer versions.

Update #1247
2020-07-04 15:05:30 +02:00
..
acl.go vendor: update vendored files 2020-01-29 16:01:06 +01:00
bucket.go go.mod: upgrade some dependencies 2020-07-04 15:05:30 +02:00
CHANGES.md go.mod: upgrade some dependencies 2020-07-04 15:05:30 +02:00
copy.go go.mod: upgrade some dependencies 2020-07-04 15:05:30 +02:00
doc.go go.mod: upgrade some dependencies 2020-07-04 15:05:30 +02:00
go110.go go.mod: upgrade some dependencies 2020-07-04 15:05:30 +02:00
go_mod_tidy_hack.go vendor: update vendored files 2020-01-29 16:01:06 +01:00
go.mod go.mod: upgrade some dependencies 2020-07-04 15:05:30 +02:00
go.sum go.mod: upgrade some dependencies 2020-07-04 15:05:30 +02:00
hmac.go go.mod: upgrade some dependencies 2020-07-04 15:05:30 +02:00
iam.go go.mod: upgrade some dependencies 2020-07-04 15:05:30 +02:00
invoke.go vendor: update vendored files 2020-01-29 16:01:06 +01:00
LICENSE go.mod: switch to modules for dependency management 2020-07-04 15:05:30 +02:00
not_go110.go vendor: update vendored files 2020-01-29 16:01:06 +01:00
notifications.go vendor: update vendored files 2020-01-29 16:01:06 +01:00
post_policy_v4.go go.mod: upgrade some dependencies 2020-07-04 15:05:30 +02:00
reader.go go.mod: upgrade some dependencies 2020-07-04 15:05:30 +02:00
README.md vendor: update vendored files 2020-01-29 16:01:06 +01:00
storage.go go.mod: upgrade some dependencies 2020-07-04 15:05:30 +02:00
storage.replay vendor: update vendored files 2020-01-29 16:01:06 +01:00
writer.go go.mod: upgrade some dependencies 2020-07-04 15:05:30 +02:00

Cloud Storage GoDoc

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)
}