Downloading and Installing an SDK

This topic provides the download links and installation methods of OBS SDK for Go.

Downloading OBS SDK for Go

Downloading a Go SDK and Using GoLand to Compile It

This procedure uses the latest version as an example:

  1. Download the SDK package.

  2. Decompress the package to obtain the following files: src (the SDK source code and sample code) and README.MD (the feature description file of SDK versions).

  3. Use GoLand to create a Go project and copy the obs, examples, and main folders to the src folder of your Go project.

  4. Right-click the Go project and choose Build Project from the drop-down list, and wait until the building is complete.

    Note

    After the building is complete, you can get a directory structure similar to the following:

    ├── bin

    ├── pkg

    ├── src

    -----├── examples

    -----├── main

    -----└── obs

    └── README.MD