Skip to content

jvanriel/storage-blob-go-getting-started

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started with Azure Blob Service in Go

This example demonstrates how to use the Blob Storage service with Go. If you don't have a Microsoft Azure subscription you can get a FREE trial account here.

Instructions

Using Azure Storage Emulator

  1. Download, install and run the Azure Storage Emulator.
  2. Get the Azure SDK for Go using command go get -u github.com/Azure/azure-sdk-for-go
  3. Get this sample using command go get -u github.com/Azure-Samples/storage-blob-go-getting-started
  4. Compile and run the sample with flag -emulator.

Using Storage Service

  1. Create a storage account through the Azure Portal.
  2. Set environment variables ACCOUNT_NAME = <ACCOUNT_NAME> and ACCOUNT_KEY = <ACCOUNT_KEY>.
  3. Get the Azure SDK for Go using command go get -u github.com/Azure/azure-sdk-for-go
  4. Get this sample using command go get -u github.com/Azure-Samples/storage-blob-go-getting-started
  5. Compile and run the sample.

Find documentation


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.

About

The getting started sample demonstrates how to perform common tasks (CRUD operations) using the Azure Blob Service in Go.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%