Nil value doesn't mean the absence of a value, because nil itself is a 
value. For example, a slice variable can hold the nil value, in that case, 
it means that the slice hasn't been initialized yet (that it has no backing 
array).

On Monday, January 21, 2019 at 2:00:24 AM UTC+3, 伊藤和也 wrote:
>
> I know "nil" is zero values for slices, maps, interfaces, etc but I don't 
> know what "nil" implays. Does nil implay the absence of value or a variable 
> has't been initialized yet or something else? 
>

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