what's wrong with
zd, _ := gzip.NewReader()
?
This too is obvious to go readers, and the current correct way to ignore errors. zd, _ := gzip.NewReader()
?
This too is obvious to go readers, and the current correct way to ignore errors.What you want is to send the error back up, without the need to be super verbose with
if err != nil {
return nil, err
}