https://play.golang.org/p/EtXlOCR1fDY

On Mon, 2018-11-05 at 15:12 -0800, Eric Raymond wrote:
> I need an equivalent of Python setattr() - that is, set a struct
> member by
> string name - but the only example I've found on line (SetField
> in oleiade/reflections on GitHub) panics and dies due to what looks
> like a
> spurious Elem() call.  I thought I could see how to fix it, but the
> resulting code has no effect,.
>
> Would someone please point me at a working example, or post one here?
>

-- 
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