Go Append Array To Array

[Solved] Go Append Array To Array | Groovy - Code Explorer | yomemimo.com
Question : go append array to array

Answered by : mackerel

a := []int{1, 2}
b := []int{11, 22}
a = append(a, b...) // a == [1 2 11 22]

Source : | Last Update : Mon, 05 Apr 21

Answers related to go append array to array

Code Explorer Popular Question For Groovy