distribution/vendor/cloud.google.com/go/storage
Milos Gajdos 3996413f46
Bump google storage module
Also bump the golangci version

Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2024-10-26 18:19:46 +01:00
..
experimental Bump google storage module 2024-10-26 18:19:46 +01:00
internal Bump google storage module 2024-10-26 18:19:46 +01:00
acl.go Bump google storage module 2024-10-26 18:19:46 +01:00
bucket.go Bump google storage module 2024-10-26 18:19:46 +01:00
CHANGES.md Bump google storage module 2024-10-26 18:19:46 +01:00
client.go Bump google storage module 2024-10-26 18:19:46 +01:00
copy.go vendor: update gcs driver dependencies files 2023-05-31 09:28:43 +02:00
doc.go Bump google storage module 2024-10-26 18:19:46 +01:00
dynamic_delay.go Bump google storage module 2024-10-26 18:19:46 +01:00
emulator_test.sh vendor: update gcs driver dependencies files 2023-05-31 09:28:43 +02:00
grpc_client.go Bump google storage module 2024-10-26 18:19:46 +01:00
grpc_dp.go Bump google storage module 2024-10-26 18:19:46 +01:00
grpc_metrics.go Bump google storage module 2024-10-26 18:19:46 +01:00
hmac.go Bump google storage module 2024-10-26 18:19:46 +01:00
http_client.go Bump google storage module 2024-10-26 18:19:46 +01:00
iam.go vendor: update gcs driver dependencies files 2023-05-31 09:28:43 +02:00
invoke.go Bump google storage module 2024-10-26 18:19:46 +01:00
LICENSE vendor: update gcs driver dependencies files 2023-05-31 09:28:43 +02:00
notifications.go Bump google storage module 2024-10-26 18:19:46 +01:00
option.go Bump google storage module 2024-10-26 18:19:46 +01:00
post_policy_v4.go Bump google storage module 2024-10-26 18:19:46 +01:00
reader.go Bump google storage module 2024-10-26 18:19:46 +01:00
README.md vendor: update gcs driver dependencies files 2023-05-31 09:28:43 +02:00
storage.go Bump google storage module 2024-10-26 18:19:46 +01:00
storage.replay vendor: update gcs driver dependencies files 2023-05-31 09:28:43 +02:00
writer.go Bump google storage module 2024-10-26 18:19:46 +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 := io.ReadAll(rc)
if err != nil {
	log.Fatal(err)
}