Azure SDK for Go
Welcome to the official documentation for the Azure SDK for Go. This SDK provides a set of libraries that allow Go developers to easily interact with Azure services.
Note: This SDK is under active development. Features and APIs may change in future releases. Please refer to the Changelog for the latest updates.
Key Features
- Comprehensive Service Coverage: Manage a wide range of Azure services including Compute, Storage, Networking, Databases, Identity, and more.
- Idiomatic Go: Designed with Go's best practices and patterns in mind for a natural development experience.
- Asynchronous Operations: Support for asynchronous patterns to handle long-running operations efficiently.
- Authentication: Robust authentication mechanisms including Azure Identity, Service Principals, Managed Identities, and more.
- Error Handling: Clear and structured error handling for better debugging.
- Transport Layer Abstraction: Flexible transport options for customizing network requests.
Getting Started
To begin using the Azure SDK for Go, you'll typically follow these steps:
- Installation: Set up your Go environment and install the necessary SDK modules.
- Authentication: Configure credentials to authenticate your application with Azure.
- Service Clients: Create clients for the Azure services you need to interact with.
- API Calls: Use the client methods to perform operations on Azure resources.
For a detailed walkthrough, please visit the Getting Started section.
Popular Modules
Azure Identity (azidentity
)
Authenticates your applications to Azure Active Directory. This is the recommended way to authenticate when running in Azure environments.
import "github.com/Azure/azure-sdk-for-go/sdk/azidentity"
Learn More
Azure Blob Storage (azblob
)
Interact with Azure Blob Storage to upload, download, and manage blobs and containers.
import "github.com/Azure/azure-sdk-for-go/sdk/storage/azblob"
Learn More
Core SDK Libraries (azcore
)
Provides fundamental types, interfaces, and utilities used across all Azure SDK for Go modules.
import "github.com/Azure/azure-sdk-for-go/sdk/azcore"
Learn More
Need Help?
If you encounter any issues or have questions, please check our Code Samples or the GitHub Issues page.