Not as I expected, but it works,  <https://play.golang.org/p/BcXus3aeM6>Would 
it be possible not to use an specific type (*SomeMessage) an instead use 
interface{} type in assertion? 

On Tuesday, April 11, 2017 at 9:22:41 AM UTC-4, Th3x0d3r wrote:
>
> 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