The function make
is describe like this:
func make(Type, size IntegerType) Type
When we use make
for slicing sometimes it shows like:
make([]int, 0, 10)
So my question is:
How can the make
function take three parameters? The size IntegerType
is not Vararg. I'm confused...