Skip to content

Generic Object Storage Release v1.0.0

Latest

Choose a tag to compare

@piyushkumar96 piyushkumar96 released this 27 Dec 05:19

Generic Object Storage

A unified Go library for performing CRUD operations on cloud object storage services. Supports Google Cloud Storage (GCS) and Amazon S3 with a consistent interface.

Features

  • Unified Interface: Single IStorageBackend interface works with both GCS and S3
  • Full CRUD Operations: Get, Put, Delete, Copy, and List objects
  • Context Support: All operations accept context for cancellation and timeouts
  • Structured Errors: Consistent error handling with detailed error codes
  • Prefix Support: Organize objects with path prefixes
  • Testable: Interfaces designed for easy mocking in tests

Installation

go get github.com/piyushkumar96/generic-object-storage