dataplane

command
v0.0.0-...-ee5caf8 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 11 Imported by: 0

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

  1. 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.

  2. Run the sample.

    go run app.go
    
  3. Clean the resource group created during sample run.

    go run app.go clean
    

More information

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

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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