I'm a total golang (1.8) n00b trying to quickly index part of an array. This is what I tried:
8: data := make([]byte, 10)
9: row := &data[3]
10: fmt.Println(row[0])
The build error is:
10: invalid operation: row[0] (type *byte does not support indexing)
Gold star if you also know if there are any parallel primitives (mutex?) when accessing the data
array, which could slow down writes, as opposed to letting each goroutine allocate an array of its own.