https://blog.golang.org/laws-of-reflection shows how to do this, with
explanation.

-rob


On Tue, Nov 6, 2018 at 11:26 AM Eric Raymond <[email protected]> wrote:

>
>
> On Monday, November 5, 2018 at 6:18:27 PM UTC-5, kortschak wrote:
>>
>> https://play.golang.org/p/EtXlOCR1fDY
>>
>
> Thanks, I was able to adapt that into working code.
>
> --
> 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.
>

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