Go Forum
Type *[]int does not support indexing!
Getting Help
lutzhorn
(Lutz Horn)
February 5, 2020, 3:54pm
2
Do this:
(*s2)[1] = 2333
see
https://play.golang.org/p/2lCGtCEx32U
2 Likes
show post in topic