On Wed, Feb 15, 2017 at 9:40 AM Felix Sun <sunf...@gmail.com> wrote: Why `arr[0] == nil` is not true?
Because it's not a nil interface{}: https://play.golang.org/p/w-od_KHWlc See also https://golang.org/doc/faq#nil_error -- -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.