URLs
In addition to creating portable types via provider-specific constructors
(e.g., creating a *blob.Bucket
using s3blob.OpenBucket
), many portable types
can also be created using a URL. The scheme of the URL specifies the provider,
and each provider implementation has code to convert the URL into the data
needed to call its constructor. For example, calling
blob.OpenBucket("s3blob://my-bucket")
will return a *blob.Bucket
created
using s3blob.OpenBucket
.