slice1 := []string{"!"} slice2 := []string{"Hello", "world"} slice := append(slice1, slice2...)
Run in the Go Playground