Baidu AI Cloud
中国站

百度智能云

Object Storage

SDK Installation

Runtime Environment

GO SDK can run in environment of go1.3 and above.

Install SDK

Download From Github Directly

Download from github with go get:

go get github.com/baidubce/bce-sdk-go 

SDK's Directory Structure

bce-sdk-go
| --auth                   //BCE signature and permission authentication 
| --bce                    //BCE common base component 
| --http                   //http communication module of BCE 
| --services               //BCE related service directory 
|  | --bos                 //BOS service directory 
|  |   | --bos_client.go    //BOS client entry 
|  |   | --api              //BOS related API directory 
|  |    | --bucket.go     //bucket related API realization of BOS 
|  |    | --object.go     //object related API realization of BOS 
|  |    | --multipart.go  //Multipart related API realization of BOS 
|  |    | --module.go     //Data model of BOS related API 
|  |    | --util.go       //Tool used for realization of BOS related API 
|  | --sts                 //STS service directory 
| --util                   //BCE common tool realization 

Uninstall SDK

When it is expected to uninstall SDK, it is only needed to delete the source code downloaded.

Previous
Overview
Next
Initialization