Rename Note to Grade

This commit is contained in:
Marcel Transier
2019-10-11 16:07:56 +02:00
parent 2b467c2747
commit ddbfc6893a
3 changed files with 34 additions and 34 deletions

View File

@@ -46,12 +46,11 @@ func main() {
func cmdGrades(cmd *cli.Cmd) {
cmd.Before = sessionNeeded
cmd.Action = func() {
noten, err := s.Noten()
grades, err := s.Grades()
if err != nil {
log.Fatal(err)
}
fmt.Println("Noten:")
noten.Print()
grades.Print()
}
}