Registry / cloud / azure-azure-storage-blob-go

azure-azure-storage-blob-go

JSON →
library0.15.0gogounverified

Go client library for Microsoft Azure Blob Storage.

go get github.com/Azure/azure-storage-blob-go
INSTALL
IMPORT
SIG · AZURE-AZURE-STORAG
A
azure-azure-storage-blob-go
cloudgov0.15.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

azblob
github.com/Azure/azure-storage-blob-go

Create a container in Azure Blob Storage.

package main import ( "context" "github.com/Azure/azure-storage-blob-go/azblob" ) func main() { accountName, accountKey := "myaccount", "mykey" credential, _ := azblob.NewSharedKeyCredential(accountName, accountKey) pipeline := azblob.NewPipeline(credential, azblob.PipelineOptions{}) containerURL, _ := azblob.NewContainerURL("https://"+accountName+".blob.core.windows.net/mycontainer", pipeline) _, _ = containerURL.Create(context.TODO(), azblob.Metadata{}, azblob.PublicAccessNone) }
Debug
Known issues
breakingBreaking changes between major versions (v0.x to v1.x) in API signatures.
fix
Use the latest version and refer to migration guides.
affects: <1.0.0
Upgrade
Version history
0.15.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
azure-azure-storage-blob-go — go get azure-azure-storage-blob-go · libregistry