新手求教一个关于slice的问题

wumier · 2017-11-02 13:36:04 · 1813 次点击
更多评论

试试 result = append(result, []int{stack})

#1

报错了额。。。cannot use stack (type []int) as type int in array or slice literal

#2