Documentation ¶ Index ¶ func Auth() bool func ReadFile(bucketName string, filename string, outFile string, noColors bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Auth ¶ func Auth() bool Auth checks for GCLOUD_CREDENTIALS in the environment returns true if they exist and creates a json credentials file and sets the GOOGLE_APPLICATION_CREDENTIALS env var returns false if credentials are not found func ReadFile ¶ func ReadFile(bucketName string, filename string, outFile string, noColors bool) ReadFile reads a file from storage bucket and saves it in a desired location. Types ¶ This section is empty. Source Files ¶ View all Source files gcs.go Click to show internal directories. Click to hide internal directories.