Registry / cloud / tencentcloud-tencentcloud-sdk-go

tencentcloud-tencentcloud-sdk-go

JSON →
library3.0.233+incompatiblegogounverified

The official Tencent Cloud SDK for Go, providing access to Tencent Cloud services.

go get github.com/tencentcloud/tencentcloud-sdk-go
INSTALL
IMPORT
SIG · TENCENTCLOUD-TENCE
T
tencentcloud-tencentcloud-sdk-go
cloudgov3.0.233+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

common
✓ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common

Initialize Tencent Cloud credentials and client profile.

package main import ( "fmt" "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common" "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/profile" ) func main() { credential := common.NewCredential("your-secret-id", "your-secret-key") cpf := profile.NewClientProfile() fmt.Println(credential, cpf) }
Debug
Known issues
gotchaThe root module has no Go files; import subpackages like tencentcloud/common.
fix
Use `import "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common"` instead of the root path.
affects: >=3.0.0
Upgrade
Version history
3.0.233+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Resources
tencentcloud-tencentcloud-sdk-go — go get tencentcloud-tencentcloud-sdk-go · libregistry