create slice from elements golang code example Example: create slice golang b := [2]string{"Penn", "Teller"}