周玉环 d906a41c2e first commit 3 dní pred
..
internal d906a41c2e first commit 3 dní pred
CHANGES.md d906a41c2e first commit 3 dní pred
LICENSE d906a41c2e first commit 3 dní pred
README.md d906a41c2e first commit 3 dní pred
acl.go d906a41c2e first commit 3 dní pred
bucket.go d906a41c2e first commit 3 dní pred
client.go d906a41c2e first commit 3 dní pred
copy.go d906a41c2e first commit 3 dní pred
doc.go d906a41c2e first commit 3 dní pred
emulator_test.sh d906a41c2e first commit 3 dní pred
grpc_client.go d906a41c2e first commit 3 dní pred
hmac.go d906a41c2e first commit 3 dní pred
http_client.go d906a41c2e first commit 3 dní pred
iam.go d906a41c2e first commit 3 dní pred
invoke.go d906a41c2e first commit 3 dní pred
notifications.go d906a41c2e first commit 3 dní pred
option.go d906a41c2e first commit 3 dní pred
post_policy_v4.go d906a41c2e first commit 3 dní pred
reader.go d906a41c2e first commit 3 dní pred
storage.go d906a41c2e first commit 3 dní pred
storage.replay d906a41c2e first commit 3 dní pred
writer.go d906a41c2e first commit 3 dní pred

README.md

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 := io.ReadAll(rc)
if err != nil {
	log.Fatal(err)
}