huaweicloud-sdk-go-v3
huaweicloud-sdk-go-v3 copied to clipboard
在v0.1.84本版的core/auth/global/global_icredential.go文件中的78行和83行使用了panic,且值是字符串, 直接使用err如何
**演示代码:** `package apis import ( "fmt" "github.com/huaweicloud/huaweicloud-sdk-go-v3/core/auth/basic" codehub "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/codehub/v3" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/codehub/v3/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/codehub/v3/region" ) func CommitDiff() { ak := "xxx" // 隐藏 sk := "xxx" auth := basic.NewCredentialsBuilder(). WithAk(ak). WithSk(sk). Build()...
go: 1.22.0 sdk: github.com/huaweicloud/huaweicloud-sdk-go-v3 v0.1.83 version: 2.9.3.300 Interface return: {"status_code":200,"request_id":"c6fd37f99a7ba4305b9f04e263e689a0","error_code": "","error_message":"model.ShowJobsResponse.Jobs: []model.Job: model.Job.DriverCo nfigValues: model.ConfigValues.Configs: []model.Configs: model.Configs.Inputs: [ ]model.Input: model.Input.Value: ReadString: expects \" or n, but found [, error found...
希望提供下载软件包的tag
model.phone 的 VncEnable 字段,模型定义为 *string, http 返回 bool
CDN/ShowDomainLocationStats新增 IP、Protocol 条件
When `err` is not nil, `resp` is nil, so it produces `runtime error: invalid memory address or nil pointer dereference` instead of the real error.
是否考虑添加通过flavor_id查询某个ecs规格的接口,例如API Expolorer中的NovaShowFlavor接口https://console.huaweicloud.com/apiexplorer/#/openapi/ECS/doc?api=NovaShowFlavor
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.23.0 to 0.31.0. Commits b4f1988 ssh: make the public key cache a 1-entry FIFO cache 7042ebc openpgp/clearsign: just use rand.Reader in tests 3e90321 go.mod: update golang.org/x dependencies...