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...
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...
No comments yet.