You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello,here is a bug,if err is not nil, then defer res.Body.Close(),will panic.
`func (request *Request) Execute() (response string, ret error) {
if request.ApiKey == "" || request.Method == "" {
return "", Error("Need both API key and method")
}
hello,here is a bug,if err is not nil, then defer res.Body.Close(),will panic.
`func (request *Request) Execute() (response string, ret error) {
if request.ApiKey == "" || request.Method == "" {
return "", Error("Need both API key and method")
}
}`
The text was updated successfully, but these errors were encountered: