In my project, I have a byte slice from a request’s response. defer resp.Body.Close() if resp.StatusCode != http.StatusOK { log.Println("StatusCode为" + strconv.Itoa(resp.StatusCode)) return ...
-
May 21, 2022
- 0 Comments