Skip to content

Commit

Permalink
drop test
Browse files Browse the repository at this point in the history
  • Loading branch information
Birjemin committed Dec 27, 2020
1 parent 6b42312 commit caf9584
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions utils/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ func (c *HTTPClient) GetResponseJSON(response interface{}) error {
return errors.New("http request response body is empty")
}


// b ,err := ioutil.ReadAll(c.Response.Body)
// if err != nil {
// log.Println("body11: ", err.Error())
// }
// log.Println("body22: ", string(b))


var json = jsoniter.ConfigCompatibleWithStandardLibrary
defer c.Response.Body.Close()
return json.NewDecoder(c.Response.Body).Decode(response)
Expand Down

0 comments on commit caf9584

Please sign in to comment.