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

Code Example 1

s := []int{5, 4, 3, 2, 1}
for i := len(s)-1; i >= 0; i-- {
   fmt.Println(s[i])
}

Learn ReactJs, React Native from akashmittal.com