Re:Multiple nil types in Go.
by _ak on Tuesday January 07, 2014 @01:59AM
(#7016078)
But: http://play.golang.org/p/J46-8OEWYS
[ Parent
| on HN ]
`make` allocates and initializes `a`, setting it to nil effectively uninitializes the variable. See below, where I declare `c`, but don't initialize it. From the Golang spec, http://golang.org/ref/spec#Map_types, the value of an uninitialized map is nil.
Don't tell me, I merely added one line of code to show that more information than the interface{} being nil is kept.