syzkaller/vendor/cloud.google.com/go/storage
Dmitry Vyukov 4705549800 vendor: update vendored files
Required to switch dashboard/app to go1.11.

Update #1461
2020-01-29 16:01:06 +01:00
..
.repo-metadata.json vendor: update vendored files 2020-01-29 16:01:06 +01:00
acl.go vendor: update vendored files 2020-01-29 16:01:06 +01:00
bucket.go vendor: update vendored files 2020-01-29 16:01:06 +01:00
CHANGES.md vendor: update vendored files 2020-01-29 16:01:06 +01:00
copy.go vendor: update vendored files 2020-01-29 16:01:06 +01:00
doc.go vendor: update vendored files 2020-01-29 16:01:06 +01:00
go110.go vendor: update vendored files 2020-01-29 16:01:06 +01:00
go_mod_tidy_hack.go vendor: update vendored files 2020-01-29 16:01:06 +01:00
go.mod vendor: update vendored files 2020-01-29 16:01:06 +01:00
go.sum vendor: update vendored files 2020-01-29 16:01:06 +01:00
hmac.go vendor: update vendored files 2020-01-29 16:01:06 +01:00
iam.go vendor: update vendored files 2020-01-29 16:01:06 +01:00
invoke.go vendor: update vendored files 2020-01-29 16:01:06 +01: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
reader.go vendor: update vendored files 2020-01-29 16:01:06 +01:00
README.md vendor: update vendored files 2020-01-29 16:01:06 +01:00
storage.go vendor: update vendored files 2020-01-29 16:01:06 +01:00
storage.replay vendor: update vendored files 2020-01-29 16:01:06 +01:00
writer.go vendor: update vendored files 2020-01-29 16:01:06 +01: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)
}