Install the SDK Package
Last Updated:2025-11-14
Runtime environment
Go SDK can run in go 1.3 or higher.
Install SDK
Directly download from github
Use go get to download from GitHub:
go get github.com/baidubce/bce-sdk-goSDK directory structure
bce-sdk-go
|--auth //BCE signature and authorization
|--bce //BCE Common basic components
|--http //HTTP communication module for BCE
|--Services //BCE Related Service Catalog
| |--bls //BLS service directory
| | |--client.go //BLS Client Entry Point
| | |--api //BLS-related API directory
| | |--fastquery.go //BLS FastQuery-related API implementation
| | |--index.go //BLS index-related API implementation
| | |--logrecord.go //BLS logrecord-related API implementation
| | |--logshipper.go //BLS logshipper-related API implementation
| | |--logstore.go //BLS logstore-related API implementation
| | |--logstream.go //BLS logstream-related API implementation
| | |--model.go //Data Models for BLS-related APIs
| | |--util.go //Tools for BLS-related API implementation
| |--sts //STS Service Catalog
|--util //BCE Common Tool ImplementationUninstall SDK
To uninstall SDK, delete the downloaded source code directly.
