Sent from my iPad
It is discarded.
> It is discarded.
So it is probably not a good idea to use this idiom for a file open for
writing. But it is fine in practice to do this with a file open only
for reading. There is nothing interesting to be done for an error when
closing a file open for reading.
Ian
--
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.