4 ms·
Not relevant to the performance test but you can do this for index, value := range mySlice { } and you get the index and the value, or you can do for _, valu
by Djehngo 14y ago
Not relevant to the performance test but you can do this
for index, value := range mySlice {
}
and you get the index and the value, or you can do
for _, value := range mySlice {
}
If you only need the value.