Install Go SDK

更新时间:
复制 MD 格式

Before you use the Go SDK to access Simple Log Service, you must install the SDK in your development environment.

Prerequisites

Install or upgrade the SDK

Run the following command as an administrator to install or upgrade the Go SDK:

go get -u github.com/aliyun/aliyun-log-go-sdk
Note

No output is displayed during installation. Wait for the process to complete. If the installation times out, run the command again.

If the command completes without errors, the Go SDK is installed.

What to do next

After you install the SDK, you must configure access credentials.