<pre class="language-markup"><code>func main() { a := [3]int{1, 2, 3} sl := a[:] println(sl[0]) println(cap(sl)) sl = append(sl, 4) sl[0] = 11 println(a[0]) println(cap(sl)) } </code></pre>