init
This commit is contained in:
parent
25799290fa
commit
b4365edd1b
4
main.go
4
main.go
@ -117,7 +117,9 @@ func dingToInfo(msg string) []byte {
|
|||||||
err)
|
err)
|
||||||
|
|
||||||
}
|
}
|
||||||
defer resp.Body.Close()
|
defer func() {
|
||||||
|
_ = resp.Body.Close()
|
||||||
|
}()
|
||||||
|
|
||||||
body, _ := ioutil.ReadAll(resp.Body)
|
body, _ := ioutil.ReadAll(resp.Body)
|
||||||
log.Info("send to %s data <%s> result is %s",
|
log.Info("send to %s data <%s> result is %s",
|
||||||
|
Loading…
Reference in New Issue
Block a user