On Tue, Sep 13, 2016 at 1:41 PM, Frank Davidson <ffdavid...@gmail.com> wrote:
> func (f fetcher) Set(tname string)

fetcher is not a pointer, therefore when you do "me.Set" f is a cpoy
and tname is only set on the copy (and then promptly discarded). The
example should be:

> func (f *fetcher) Set(tname…

—Sam


-- 
Sam Whited
pub 4096R/54083AE104EA7AD3

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

Reply via email to