Giving your Go apps Tigris superpowers | Tigris Object Storage
2 days ago
- Tigris extends S3 with advanced features like bucket forking, snapshots, and object renaming, but using them with raw S3 calls requires boilerplate code.
- The new Go Storage SDK simplifies this by providing dedicated methods (e.g., RenameObject, BundleObjects) in two packages: `storage` and `simplestorage`.
- Package `storage` is a drop-in replacement for the AWS S3 client, adding Tigris-specific methods while keeping existing code compatible.
- Package `simplestorage` offers a reimagined high-level interface that infers bucket and credentials from environment variables, reducing cognitive load.
- `simplestorage` supports easy bucket forking via the `For` method and works with other S3-compatible providers like Hetzner.
- The SDK can be installed with `go get github.com/tigrisdata/storage-go@latest`, and feedback is welcomed for improvement.