Two Dimensional Slice in Go

January 22, 2019   

Create a 2-dimensional boolean slice and initialize it in go.

isSomething := make([][]bool, length)
for i := range isSomething {
	isSomething[i] = make([]bool, length)
}