```
statusCode, body, err := httpClient.Get(nil, fileUrl)
if err != nil {
log.Fatalf("error when download: %s", err)
}```
the error is unexpected EOF sometime. But use wget or curl with the fileUrl is ok.
有疑问加站长微信联系(非本文作者)