explicit error ignore
Vladimir Bauer
4 years ago
| 35 | 35 |
defer proxyReader.Close()
|
| 36 | 36 |
|
| 37 | 37 |
// copy from proxyReader, ignoring errors
|
| 38 | |
io.Copy(ioutil.Discard, proxyReader)
|
|
38 |
_, _ = io.Copy(ioutil.Discard, proxyReader)
|
| 39 | 39 |
|
| 40 | 40 |
p.Wait()
|
| 41 | 41 |
}
|