I want to do something like(it’s valid)
var myArray [9][3]int
but when I do
var myArray [someIntVariable][anotherOne]int
It can’t be used(I know why, so I’m not asking this.)
But is there any alternative to make this work?
Sorry for my bad English.
Does the following work for you?