On Mon, Aug 8, 2016 at 10:07 AM, Sam Salisbury <samsalisb...@gmail.com> wrote:
> The code speaks for itself, I thought I was understanding reflection up
> until this point... It seems that the zero value of maps is nil, until you
> round-trip them to a reflect.Value, and they become non-nil.

This is an instance of https://golang.org/doc/faq#nil_error .

Ian

-- 
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.

Reply via email to