Nil = Uninitialized (slices, maps, channels, funcs etc)
Nil = Doesn't point to anything (pointers)

And so on.

--
Inanc Gumus
https://learngoprogramming.com

On Mon, Jan 21, 2019 at 4:19 PM 伊藤和也 <kazya.ito.dr...@gmail.com> wrote:

> So what do you think "nil" represents instead?
> "nil" is just a special value?  for slices, maps.....
>
> 2019年1月21日月曜日 8時00分24秒 UTC+9 伊藤和也:
>>
>> 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 a topic in the
> Google Groups "golang-nuts" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/golang-nuts/6LSHq2Bc8Gk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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