This topic describes how to install Serverless workflow SDK for Go. This topic also provides an example on how to use the SDK to call API operations.
Prerequisites
Go 1.10 or later is installed on your system. For more information about environment requirements, see Environment requirements.
Install the SDK
Run the go get
command to download and install SDK for Go.
go get -u github.com/aliyun/alibaba-cloud-sdk-go/sdk
If you use glide to manage dependencies, you can also use glide to install Alibaba Cloud SDK for Go.
glide get github.com/aliyun/alibaba-cloud-sdk-go
SDK sample code
You can use the API-level SDK demos of different languages for debugging. For sample code, visit OpenAPI Explorer.