Is it Possible to append a struct
to a slice
? Can anyone please post an example? This slice
needs to have struct
values.
testSlice = make([]Row, 10)
I tried appending this way but it did not work.
testSlice.append(row)
testSlice = append(testSlice, Row{/*...*/})