In Go, what is the difference between var s []int and s := make([]int, 0)?
var s []int
s := make([]int, 0)
I find that both works, but which one is better?
1.4m articles
1.4m replys
5 comments
57.0k users