I recently studying go in w3schools and I can't able to understand capacity of slice in go? How the cap() of myslice1 is 12.Slice in go
I expect that the cap() of myslice1 is 8 because I append the two numbers on previously created slice.But the cap() myslice1 before append is 6. And after appended the cap()of myslice is 12.