Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 386 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 386 Bytes

GCS Manager

A Go library for managing Google Cloud Storage (GCS).

Installation

go get github.com/PrimaKu/gcs

Setup

gcsManager, err := gcs.NewGCSManager(credentialPath) // string
if err != nil {
  log.Fatalf("Failed to create GCS client: %v", err)
}

Upload File

gcsManager.UploadFile(bucketName, fileName, file) // string, string, os.File