hi

At
https://blog.golang.org/go-slices-usage-and-internals#TOC_3.

It says,

> The zero value of a slice is nil. The len and cap functions will both 
return 0 for a nil slice. 


Then looked at https://youtu.be/ynoY2xz-F8s?t=10m20s


I found the second explanation much better to explain

https://play.golang.org/p/bSTmNrAtjA

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