Google's official Go packages for calling Google Cloud services
open sourceApache-2.0free
The Google Cloud client libraries for Go are Google's official Go packages for Google Cloud services, one module per service under cloud.google.com/go: Cloud Storage, Compute Engine, IAM, Firestore and the rest of the released APIs listed in its reference docs. Each client authenticates with Application Default Credentials, so code running on Google Cloud needs no extra setup, and elsewhere it picks up credentials from the Google Cloud CLI's application-default login, a service account key file or an explicit credentials object. The libraries support the two most recent major Go releases.
Problems it solves
- upload files to Google Cloud Storage from my Go service
- call Google Cloud APIs from Go with the official client
- authenticate my Go app to Google Cloud without hard-coding keys
Features
- A Go module for each Google Cloud service, such as Storage, Compute, IAM and Firestore
- Application Default Credentials, with no setup on Google Cloud
- Service account key files or explicit credentials when running elsewhere
- Supports the two most recent major Go releases
Limitations
- Some packages are still under development and may make backwards-incompatible changes1
Alternatives
The same job
These do what Google Cloud client libraries for Go does.
- AWS SDK for Go Call AWS services from Go
