What is the Azure SDK for Go?
The open-source Azure SDK for Go simplifies provisioning, managing, and using Azure resources from Go application code.
Introducing the management and client libraries
The Azure SDK for Go provides several libraries (grouped into management and client) that allow your Go code to communicate with Azure services. Both the management and client libraries are designed to work with both local and cloud environments.
Due to the adoption of generics, the Azure SDK for Go is compatible with Go 1.18 and later. Moving forward, the Azure SDK for Go will support the two most recent major releases. For a list of all Go releases and to see how to update to a specific version, see Go Release History.
You'll sometimes see the management libraries referred to as the "management plane" and the client libraries referred to as the "data plane". The key difference between the management plane and the data plane can best be explained as follows:
- The management plane is used to manage resources in your Azure subscription.
- The data plane is used to interact with Azure resources in your subscription.
Tip
Example: You want to create an Azure Storage Account in your subscription. You use the management plane to create the storage account, and the data plane to interact with the account by reading and writing data to it.
The management and client libraries are built on top of the Azure REST API. This layering allows you to access the functionality of the underlying Azure REST API using familiar Go paradigms. You can also use the Azure REST API directly by making HTTP requests from your Go code.
Source code for the management and client libraries is available via the Azure SDK for GO GitHub repository. As an open-source project, contributions from the public are welcome!
Current versions of the management and client libraries share the common cloud patterns implemented in the Azure core library. These patterns include authentication protocols, logging, tracing, transport protocols, buffered responses, and retries.
The Azure SDK for Go is composed of many individual Go libraries that relate to specific Azure services. For the list of client and management libraries, see the Go section of the Azure SDK Releases page.
Next steps
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for