On Tue, 27 Sep 2016 18:30:04 +0000
Edward Muller <[email protected]> wrote:

> One option is to adjust the method to take an io.ReadCloser instead
> of a path so you could pass in anything that supported the
> io.ReadCloser interface (which is easily adapted to via
> ioutil.NoCloser(io.Reader)).

A minor typo correction: that's ioutil.NopCloser (with "Nop" supposedly
standing for "No Operation").

[...]

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to