command
Version:
v0.0.0-...-ee5caf8
Opens a new window with list of versions in this module.
Published: Sep 13, 2023
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
dataplane
The code provided shows how to do the following:
- Create a resource group
- Create a storage account
- Create a container in the storage account
- Upload a file to the container
To see the code to perform these operations,
check out the main()
function in app.go.
Running this sample
-
Open a Powershell or Bash shell in ...\Hybrid-Golang-Samples\dataplane
and enter the following commands:
go mod init dataplane
go mod tidy
go get github.com/Azure/azure-storage-blob-go/azblob@v0.10.0
NOTE: The azblob@v0.10.0 version is required for AzureStack.
-
Run the sample.
go run app.go
-
Clean the resource group created during sample run.
go run app.go clean
If you don't have a Microsoft Azure subscription you can get a FREE trial account here.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.