略過導覽

Preview: Azure SDK for Go 12.0.0

2017年12月21日

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!

免費帳戶

免費取得 $200 的 Azure 點數與 12 個月的熱門服務

開始免費使用

Visual Studio

訂閱者每年最多可取得價值達 $1800 的 Azure 服務

立即啟用

新創公司

加入適用於新創公司的 Microsoft 並取得免費 Azure 服務

深入了解