for i := 0; i < 10; i++ { fmt.Print(i) }
for element := range arrayOrSlice { fmt.Print(element) }
Last updated 5 years ago
Was this helpful?