Install the SDK Package
Updated at:2025-11-03
Runtime environment
The GO SDK is compatible with Go 1.3 and later versions.
Install SDK
Directly download from github
Use go get to download from GitHub:
Shell
1go get github.com/baidubce/bce-sdk-go
SDK directory structure
Text
1bce-sdk-go
2 |--auth //BCE signature and authorization
3 |--bce //BCE Common basic components
4 |--http //HTTP communication module for BCE
5 |--Services //BCE Related Service Catalog
6 | |--bos //BOS service directory
7 | | |--bos_client.go //BOS client entry point
8 | | |--api //BOS-related API directory
9 | | |--bucket.go //Implementation of BOS bucket-related APIs
10 | | |--object.go //Implementation of BOS object-related APIs
11 | | |--multipart.go //Implementation of BOS multipart-related APIs
12 | | |--module.go //Data models for BOS-related APIs
13 | | |--util.go //Tools for BOS-related API implementation
14 | |--sts //STS Service Catalog
15 |--util //BCE Common Tool Implementation
Uninstall SDK
To uninstall the SDK, simply delete the downloaded source code.
