i just make an anwser..... El lunes, 21 de enero de 2019, 19:21:29 (UTC-3), Ian Lance Taylor escribió: > > On Mon, Jan 21, 2019 at 5:19 AM 伊藤和也 <kazya.i...@gmail.com <javascript:>> > wrote: > > > > So what do you think "nil" represents instead? > > "nil" is just a special value? for slices, maps..... > > There is no one answer to that question. > > As you know, `nil` is the value of an uninitialized variable of > interface, slice, pointer, map, function, or channel type. Beyond > that it has no shared meaning. For each of those types, the value > `nil` behaves differently, in a way that makes sense for the type. > See also https://golang.org/issue/22729. > > Ian > > > > > 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 the Google > Groups "golang-nuts" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to golang-nuts...@googlegroups.com <javascript:>. > > 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.