3 ms·
I think the 2 are generally equals. make is used when you want to initialize a map, slice, channel with a given size. http://golang.org/ref/spec#Making_slices_
by pothibo 13y ago
I think the 2 are generally equals. make is used when you want to initialize a map, slice, channel with a given size.
http://golang.org/ref/spec#Making_slices_maps_and_channels http://golang.org/ref/spec#Making_slices_maps_and_channels