Downloading and Installing an SDK¶
This topic provides the download links and installation methods of OBS SDK for Go.
Downloading OBS SDK for Go¶
Installing OBS SDK for Go¶
OBS SDK for Go can be installed in the following ways:
Downloading a Go SDK and Using GoLand to Compile It¶
This procedure uses the latest version as an example:
Download the SDK package.
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).
Use GoLand to create a Go project and copy the obs, examples, and main folders to the src folder of your Go project.
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