Y
Hacker News
new
|
ask
|
show
|
jobs
by
was_boring
2587 days ago
I'm by no means a expert, but doesn't Go advocate using append with a slice which will create a new array?
https://golang.org/pkg/builtin/#append