range in the for loop return 2 values (index, value). If you don't want the index, you can assign it to "_" to ignore it.
http://golang.org/ref/spec#Blank_identifier
range in the for loop return 2 values (index, value). If you don't want the index, you can assign it to "_" to ignore it.
http://golang.org/ref/spec#Blank_identifier