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?
2.1m questions
2.1m answers
60 comments
57.0k users