Sry for the typo. Its true that Kind() returns "Invalid" if IsValid returns False. But still docs seems to be misleading. It says "If v is the zero Value (IsValid returns false), Kind returns Invalid."
according to doc, all the variables in the code supposed to have a kind of "Invalid" (since all the variables have zero value) in here https://play.golang.org/p/RoIAXsxhIF -- 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.