cloud

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Command cloud demonstrates go-squawk with the storage/cloud backend, which wraps gocloud.dev/blob so the same code works against S3, GCS, Azure Blob, or (as used here) an in-memory bucket that needs no credentials to run.

To point this at a real bucket, swap the blank import and the URL passed to cloud.Open, e.g.:

import _ "gocloud.dev/blob/s3blob"
cloud.Open(ctx, "s3://my-bucket?region=us-west-2")

Each driver has its own required/optional URL parameters (region, credentials, endpoints); see https://gocloud.dev/howto/blob/ for the full reference.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL