Type *[]int does not support indexing!

Do this:

	(*s2)[1] = 2333

see https://play.golang.org/p/2lCGtCEx32U

2 Likes