golang for loop range with condition