Hello, I was surprised to realize today that the default format for a nil slice or map is the same as the default format for an empty one. However, this is not the case for a nil chan or func.
See this playground link for an example: https://play.golang.org/p/OtoFRxjD61 I would be very interested to understand why it was decided that the default format for the nil slice and map would not be nil. Thank you, -- 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.