doc for Value.Kind() says, "If v is the zero Value (IsValid returns false), Kind returns Invalid."
but thats not true. I does return "Invalid" in case of interfaces. but not for every type. It doesn't return "invalid" even if IsValid return false. https://play.golang.org/p/wrVwCedf65 -- 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.