This topic describes how to add dependencies to install the Alibaba Cloud SDK for Go.
Before you install and use the Alibaba Cloud SDK for Python, an Alibaba Cloud account is created and an AccessKey pair is created. For more information, see Create an AccessKey pair.
- (Recommended) Use dependency managers.
- Download and install Alibaba Cloud SDK for Go.
(Recommended) Use Glide
glide get github.com/aliyun/alibaba-cloud-sdk-go
go get -u github.com/aliyun/alibaba-cloud-sdk-go/sdk
After the Alibaba Cloud SDK for Go is installed, you can use OpenAPI Explorer to generate the sample code of API operations for the SDK, and apply the sample code in your projects.