Thanks!

On Tuesday, December 20, 2016 at 1:13:35 AM UTC-8, Volker Dobler wrote:
>
> Like
>     bar = int(foo.(MyInt))
> that's: type-assert that foo is a MyInt and convert the MyInt to int.
>
> V. 
>
> Am Dienstag, 20. Dezember 2016 09:45:33 UTC+1 schrieb so.q...@gmail.com:
>>
>> How would I cast type alias MyInt and interface Foo, to an int?
>>
>> https://play.golang.org/p/Sb80WoKh4Y
>>
>

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