Essential Go Slices  Edit on GitHub      File Issue

Add slices

slice := []string{"!"}
slice2 := []string{"Hello", "world"}
slice = append(slice, slice2...)
fmt.Printf("%#v\n", slice)
[]string{"!", "Hello", "world"}
  ↑ ↓ to navigate     ↵ to select     Esc to close