Using azure-sdk-for-go with azure.com

Go integration

✓ Official SDK
Install
go get github.com/Azure/azure-sdk-for-go
Quick start
import "azure-sdk-for-go"

// Initialize client
client := azure-sdk-for-go.NewClient("YOUR_API_KEY")
Tells whether this Docker Registry instance supports Docker Registry HTTP API v2
curl \
  -H "Authorization: $API_KEY" \
  /v2/
Exchange Username, Password and Scope an ACR Access Token
curl \
  -H "Authorization: $API_KEY" \
  /oauth2/token
Get repository attributes
curl \
  -H "Authorization: $API_KEY" \
  /acr/v1/{name}
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-go
Go
API
azure.com
azure.com:containerregistry
At a glance
Language Go
Endpoints25
✓ Official