← Asynchronous Call | Package Management(中文) | Endpoint →
Alibaba Cloud SDK for Go supports two ways for package management.
Execute the following command in the alibaba-cloud-sdk-go directory:
# When gopkg.lock and gopkg.toml exist, this instruction will pull the dependency package and put it into the vendor directory.
dep ensure
Execute the following command in the alibaba-cloud-sdk-go directory:
# When go.mod and go.sum exist, the command will pull the dependent package and put it into the $GOPATH/pkg/mod directory.
go mod tidy
← Asynchronous Call | Package Management(中文) | Endpoint →