use of variable in for loop not recognized in Golang use of variable in for loop not recognized in Golang go go

use of variable in for loop not recognized in Golang