Baidu AI Cloud
中国站

百度智能云

Virtual Private Cloud

Install SDK Toolkit

Install SDK Toolkit

Running Environment

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

Install SDK

Download from github directly

Download from github with “go get” tool:

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 
|   |--vpc                  // Private network 
|   |--vpn                  // VPN gateway 
|   |--etGateway            // Dedicated Line Gateway 
|--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
PHP-SDK
Next
Initialization