2 Star 0 Fork 0

TeamsHub/backend-gopkg

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
response.go 428 Bytes
Copy Edit Raw Blame History
HCY authored 2024-05-10 12:41 +08:00 . c
package client
import "fmt"
type Response struct {
RequestId string
}
//错误信息结构体
type ErrorResponse struct {
RequestId string
HostId string
Code string
Message string
StatusCode int //Status Code of HTTP Response
}
func (e *ErrorResponse) Error() string {
return fmt.Sprintf("Aliyun API Error: RequestId: %s Status Code: %d Code: %s Message: %s", e.RequestId, e.StatusCode, e.Code, e.Message)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wuzheng0709/backend-gopkg.git
git@gitee.com:wuzheng0709/backend-gopkg.git
wuzheng0709
backend-gopkg
backend-gopkg
v1.4.7

Search