Robuta

https://geektutu.com/post/hpg-gotchas-array-slice.html Go 语言陷阱 - 数组和切片 | Go 语言高性能编程 | 极客兔兔 Go 语言/golang 高性能编程(high performance go),Go 语言进阶教程,Go 语言陷阱(gotchas)。这篇文章介绍了 Go 语言中数组(Array) 和切片(Slice)的常见陷阱和规避方式。例如数组作为参数,修改参数,原数组不会发生改变。 go