Installing the SDK
The following uses OBS Go SDK of the latest version as an example:
- Download the OBS Go SDK development package by referring to SDK Download Links.
- Decompress the development package to obtain folder src (SDK source code and sample code) and file README.txt (feature description file of SDK versions).
- On Eclipse, create a Go project, copy the folder and file obtained in the previous step to folder src of the project.
- Right-click the project and choose Build Project from the drop-down list, and wait until the building is complete.
After the building, the directory structure is similar to the following:
├── bin
├── pkg
├── src
-----├── examples
-----├── main
-----└── obs
└── README.MD
Method 2:
go get github.com/huaweicloud/huaweicloud-sdk-go-obs/obs
Last Article: Preparing a Development Environment
Next Article: Quickly Using the SDK
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.