GO http请求完成后需要关闭response.Body.Close()
resp, err := http.Post(url, "application/json", nil)
if err != nil {
return err
}
defer func(body io.ReadCloser) {
if body != nil {
err := body.Close()
if err != nil {
}
}
}(response.Body)