On Sun, Feb 25, 2018 at 10:23 AM Bakul Shah <ba...@bitblocks.com> wrote:

> Why not case T2?

It does match T2 as well. The order of cases of the type switch maters:
https://play.golang.org/p/nb28xHQP7oU

-- 

-j

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