Check out example codes for "create slice golang". It will help you in understanding the concepts better.

Code Example 1

b := [2]string{"Penn", "Teller"}

Learn ReactJs, React Native from akashmittal.com