4 ms·
What is everyone ranting about? Append is not a method of the type slice, it is a function that returns a slice. What I read is people writing a := make([]int
by mmf 11y ago
What is everyone ranting about?
Append is not a method of the type slice, it is a function that returns a slice. What I read is people writing
a := make([]int,2,2)
b := a
a = f()
And then "mommyyyy a is not equal to b anymoreeeee".
Just sayin...