Navigáció kihagyása

Build Go apps for Azure with the Go SDK, now generally available

Közzétéve: február 12, 2018

Senior Program Manager, Azure Developer Experience

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.