Re:Typed nils in Go 2
by mbertschler on Friday August 11, 2017 @02:59AM
(#14987248)
Yes it is. An interface is basically a struct of the concrete type and the value. While the outer interface value still has a type, if no value was assigned to it, the concrete type field is still nil.
[ Parent
| on HN ]
There are no comments on this comment yet.