I would but need to use empty interfaces{} as parameters

On Tuesday, April 11, 2017 at 9:52:20 AM UTC-4, Pierre Curto wrote:
>
> Either pass around the pointer to your struct or use a dedicated interface 
> to alter the struct contents.
> Examples of each here <https://play.golang.org/p/fVQrg2C802> and there 
> <https://play.golang.org/p/fVQrg2C802>.
>
> Le mardi 11 avril 2017 15:22:41 UTC+2, Th3x0d3r a écrit :
>>
>> Hey there !
>>
>> How can i set the value of an interface{} parameter from other 
>> interface{} source
>>
>> Playground : https://play.golang.org/p/utwO2Ru4Eq
>>
>> Output expected:
>>
>> Val 1: &{XML}
>> Val 2: &{XML}
>>
>>
>> Thanks 
>>
>

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