This topic describes how to install Function Compute SDK for Go.

Prerequisites

A Golang development environment is installed. For more information, see Install Go.

Note The Golang version must be 1.8.0 or later. After the installation is complete, you can run the go version command to view the Go language version.

Install the SDK

Run the following command to install SDK for Go.

go get github.com/aliyun/fc-go-sdk