how to iterate slice using for range loop in golang