From caf95847b769899d50decbc67b0141374cc2fb62 Mon Sep 17 00:00:00 2001 From: birjemin Date: Sun, 27 Dec 2020 15:50:24 +0800 Subject: [PATCH] drop test --- utils/http.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/utils/http.go b/utils/http.go index 4576d93..49b07e5 100644 --- a/utils/http.go +++ b/utils/http.go @@ -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)