- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Effect (0.14 sec)
-
doc/go1.17_spec.html
type is not the same as an initialized but empty value of the same type. Consequently, taking the address of an empty slice or map composite literal does not have the same effect as allocating a new slice or map value with <a href="#Allocation">new</a>. </p> <pre> p1 := &[]int{} // p1 points to an initialized, empty slice with value []int{} and length 0
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0)