Open SnowOnion opened 1 month ago
https://go.dev/ref/spec#The_zero_value does not define “empty value”. It informally mentions “empty value”, meaning (non-nil && 0-length) slice or map.
Note that the zero value for a slice or map type is not the same as an initialized but empty value of the same type.
https://go.dev/ref/spec#The_zero_value does not define “empty value”. It informally mentions “empty value”, meaning (non-nil && 0-length) slice or map.