Skip to main content Explore View all products (200+) Microsoft Foundry Azure Copilot GitHub Copilot Azure Kubernetes Service (AKS) Azure Cosmos DB Azure Database for PostgreSQL Azure Arc Microsoft Fabric Linux virtual machines in Azure Foundry Models Foundry Agent Service Foundry IQ Foundry Tools Foundry Control Plane Observability in Foundry Control Plane Azure OpenAI in Foundry Models Azure Speech in Foundry Tools Azure Machine Learning View all databases Azure Cosmos DB Azure DocumentDB Azure SQL Azure Database for PostgreSQL Azure Managed Redis Microsoft Fabric Azure Databricks Linux virtual machines in Azure Windows Server on Azure Azure Functions Azure Virtual Machine Scale Sets Azure API Management Azure Container Apps Azure Kubernetes Service (AKS) Azure Kubernetes Fleet Manager Azure Container Registry Azure Red Hat OpenShift Azure Container Instances Azure Container Storage Azure Arc Azure Local Microsoft Defender for Cloud Azure Monitor Microsoft Sentinel Azure Migrate View all solutions (40+) Cloud solutions for small and medium businesses Cloud migration and modernization center Data analytics for AI Azure Databases AI apps and agents Microsoft Marketplace Microsoft Sovereign Cloud AI apps and agents Responsible AI with Azure AI Infrastructure Data analytics for AI Machine learning operations (MLOps) Low-code application development on Azure Integration Services Serverless computing DevOps Migration and modernization center .NET apps migration Databases on Azure Linux on Azure Oracle on Azure SAP on the Microsoft Cloud Adaptive cloud High-performance computing (HPC) Infrastructure as a service (IaaS) Resiliency Azure Essentials Frontier Accelerate for Azure FinOps on Azure Microsoft Marketplace Azure pricing overview Create an Azure account Free Azure services Flexible purchase options Pricing calculator FinOps on Azure Maximize ROI from AI Azure savings plans Azure reservations Azure Hybrid Benefit Virtual Machines Azure SQL Microsoft Foundry Microsoft Fabric Azure Kubernetes Service (AKS) Microsoft Defender for Cloud View more Software Development Companies Microsoft Marketplace Find a partner Resources for Azure partners Get started with Azure Customer stories Analyst reports, white papers, and e-books Videos Learn more about cloud computing Documentation Explore Azure portal Developer resources Quickstart templates Resources for startups Developer community Students Azure for partners Blog Events and Webinars Learn Support Contact Sales Get started with Azure Sign in

We’re pleased to announce that the Azure SDK for Go is now generally available to help developers build apps for Azure with Go. The SDK features support for connecting to data sources including Cosmos DB and Azure Storage, deploying Azure resources programmatically, authenticating users, and much more. Alongside the SDK update, we are also making the Azure Go Dev Center available on our docs.

With today’s announcement, we are once again reinforcing our commitment to build an open cloud, supporting open source technologies such as Go and enabling our customers to innovate faster, using the tools they prefer.

Why Go? In today’s digitally transformed world, developer and software efficiency have a major impact on project success. Cloud platforms like Microsoft Azure increase that efficiency by managing infrastructure and platforms on behalf of developers. Go also increases both developer and software efficiency through clear syntax, modern standard libraries, native compilation, and reliable concurrency primitives. By expanding Azure’s support for Go we hope to enable our customers to capitalize on both simultaneously.

 Go
Image credits: @ashleymcnamara

Azure SDK for Go

Developers can use the Azure SDK for Go to more quickly build cloud apps. For example, the SDK allows you to:

  • Interact with our object storage service, Azure Blob Storage.
  • Connect to Azure database services like Cosmos DB, Azure DB for PostgreSQL, and more.
  • Authenticate your users and other services using Azure Active Directory identities and Key Vault secrets.
  • Provision and manage Azure resources like Virtual Machines, Virtual Networks, Storage Accounts, as well as databases like Cosmos DB and PostgreSQL.
  • Analyze data with Azure Cognitive services.

Several popular cloud management projects already use the SDK to integrate with Azure, including Kubernetes, Terraform, and the Open Service Broker for Azure.

“HashiCorp Terraform heavily leverages the Azure Go SDK for provisioning the underlying Azure infrastructure. We have partnered closely with Microsoft over the past two years to help drive fixes and improvements into the SDK, as well as leverage the latest functionality for supporting the newer Azure features in Terraform.”

– Burzin Patel, VP of Alliances, Hashicorp

“Azure Go SDK is a critical component of Azure Container Service (AKS), enabling the integration of Kubernetes with Azure resources, including Load Balancers, Network Security Groups, and Managed Disks.”

– Jason Hansen, Program Manager, Microsoft Azure Container Service

Get started

For help getting started, check out our GitHub repo full of snippets and testable examples at Azure-Samples/azure-sdk-for-go-samples, as well as our newly-published documentation and tutorials in the Azure Go Dev Center. Full API documentation for the SDK is available on GoDoc.

Please share comments and feedback with us below or in the SDK issue tracker on GitHub.

Azure also offers other tools and services to help you efficiently build Go apps for cloud:

If you don’t have an Azure subscription yet, you can get started with our free trial, offering $200 in Azure credits as well as one year of popular services, for free.

Lastly, don’t forget to check out the free, open source Visual Studio Code editor for macOS, Windows and Linux, coming with an extension to build and debug Go apps.

WE ARE MICROSOFT

Explore Microsoft Foundry

The future of AI starts here. Envision your next great AI app with the latest technologies. Get started with Azure.