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.
Click to show internal directories.
Click to hide internal directories.