Update README.md

This commit is contained in:
jiacai_wang 2020-06-06 20:02:58 +08:00 committed by GitHub
parent 9fba87e6fd
commit 6595f7d2c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
update domain record using AliCloud Go SDK. update domain record using AliCloud Go SDK.
### Usage ### Usage
- First, install Aliyun Go SDK by running `go get github.com/aliyun/alibaba-cloud-sdk-go/services/alidns`. - First, install Aliyun Go SDK by running `go get -u github.com/aliyun/alibaba-cloud-sdk-go/sdk`.
- Create a AccessKey at https://usercenter.console.aliyun.com/. - Create a AccessKey at https://usercenter.console.aliyun.com/.
- Fill in `config.json` the AccessKey, secret, and the domain you'd setup. - Fill in `config.json` the AccessKey, secret, and the domain you'd setup.
- To compile, just run `go build alidns.go`. *Run `go mod init alidns` first if needed.* - To compile, just run `go build alidns.go`. *Run `go mod init alidns` first if needed.*