This topic describes how to add dependencies to install Alibaba Cloud SMS SDK for Go.
Note You must install the core library of the Go SDK regardless of the method that you use to install the Go SDK.
Prerequisites
Before you install and use the Go SDK, an Alibaba Cloud account is created and an AccessKey pair is created. For more information, see Create an AccessKey pair.
(Recommended) Use Glide
To install the Go SDK, run the following command:
glide get github.com/aliyun/alibaba-cloud-sdk-go
Use govendor
To install the Go SDK, run the following command:
go get -u github.com/aliyun/alibaba-cloud-sdk-go/sdk
After the Go SDK 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.