string转float64:

    floatscore, _ := strconv.ParseFloat(score, 64)


string转int:

    teacherid, _ := strconv.Atoi(teacherId)