On Wed, Nov 1, 2017 at 3:42 AM, <oju...@gmail.com> wrote: > Today you can't, Ayan. >
It's very consistent, you can't compare an interface value reliably to any untyped constant. Because there is no way for the compiler to figure out what type it should take. https://play.golang.org/p/4Fn0YNE2md -- 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.