//我想返回个int数组,直接返回array不行,错误提示:Cannot use 'arr' (type [10]int) as type []int .如下,请问下原因?
![image.png](https://static.studygolang.com/210125/15d3d63878cbce5341b0a6df856978c0.png)
更多评论
<a href="/user/focusonline" title="@focusonline">@focusonline</a> 好的,非常感谢
#2