Y
Hacker News
new
|
ask
|
show
|
jobs
by
simulate-me
1493 days ago
You can use arrays, but if you want to maintain the Elm-like model of before and after states, then you need to explicitly copy the array into the new state rather than rely on Go copying just the pointer.