On Fri, 2016-09-02 at 13:47 -0700, nicolas riesch wrote:
> In your original example, if you don't cast, it works.
> 
> https://play.golang.org/p/g-GScYkA5S

That is not doing what the OP wanted though; they wanted a []int.

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


> The explanation is here:
> 
> https://groups.google.com/forum/#!topic/golang-nuts/x3nOMDCLv5M

This is a differnt thing.

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

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