> Again, the idiom is, if you get an `io.Closer`, `Close` should be called once
> you're done with it.

Thanks for the responses, but I am not convinced. Other than "its just good
practice", I havent seen a single concrete example where not closing a gzip
reader would cause a problem. Until that happens, I am just going to stop doing
it in my code.

As far as Im concerned, gzip Close seems about as useful as io.NopCloser. Again,
if I am wrong on this, I certainly want to know it, but at this moment it doesnt
seem that I am.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAP8dQmtX9YDK-LNXKijo6nS8z46xNot7nG0bp-SZLv8Ojwzvmw%40mail.gmail.com.

Reply via email to