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
62 comments
56.7k users