Categorygithub.com/PrimaKu/gcs
modulepackage
1.4.0
Repository: https://github.com/primaku/gcs.git
Documentation: pkg.go.dev

# README

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

# Functions

No description provided by the author
NewMockGCSManager creates a new mock instance.

# Structs

MockGCSManager is a mock of GCSManager interface.
MockGCSManagerMockRecorder is the mock recorder for MockGCSManager.

# Interfaces

No description provided by the author