Preview: Azure SDK for Go 12.0.0

čtvrtek 21. prosince 2017

Preview version 12.0.0-beta of the Azure SDK for Go is now available to help you use Azure services from Go applications. To get it, run go get -u github.com/Azure/azure-sdk-for-go/..., or use our newly-introduced support for dep and add the following lines to your Gopkg.toml:

[[constraint]]
    name = "github.com/Azure/azure-sdk-for-go"
    version = "12.0.0-beta"

Changes in this version include:

  • Long-running (asynchronous) operations now return a future-like construct that can be used to poll for operation completion. Previously, such operations returned channels and polling was handled internally by the library.
  • Support for API versions and profiles added. Use the services/... or profiles/... paths in import statements to choose specific versions and avoid unexpected breaking changes. See our wiki for more info.
  • Support for context added. Library methods now all expect a Context struct as their first parameter.
  • Support for dep added and for glide removed.
  • API for iterating over pageable results simplified.
  • New services added:
    • Azure Cosmos DB via MongoDB API
    • Azure Kubernetes Service (AKS)
    • Microsoft Cognitive Services: Custom Search, Entity Search, Image Search, News Search, Video Search, Web Search, and Spell Check

For more details, see the change log. Please open issues and requests in our GitHub tracker. Thank you!

Bezplatný účet

Získejte $200 v kreditech Azure a 12 měsíců používání oblíbených služeb – zdarma.

Začněte zdarma

Visual Studio

Odběratelé získají ročně služby Azure v hodnotě až $1800.

Aktivovat teď

Nováčci

Zapojte se do programu BizSpark a získejte služby Azure zdarma

Další informace