Interface values are comparable. If they have different concrete types, they compare to false.
See https://golang.org/ref/spec#Comparison_operators On Sat, Jul 30, 2016 at 10:33 PM, T L <tapir....@gmail.com> wrote: > Is it essential? > > -- > 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. > -- 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.