diff --git a/canvas.go b/canvas.go index 2052373..df5f94c 100644 --- a/canvas.go +++ b/canvas.go @@ -55,7 +55,7 @@ func list_all_courses() { canvas_courses := get_courses(token, all_courses, client) for _, course := range canvas_courses { - fmt.Printf("%s, %d\n", course.Name, course.ID%10000) + fmt.Printf("%d, %s\n", course.ID%10000, course.Name) } } @@ -67,6 +67,6 @@ func list_favorite_courses() { canvas_courses := get_courses(token, favorites, client) for _, course := range canvas_courses { - fmt.Printf("%s, %d\n", course.Name, course.ID%10000) + fmt.Printf("%d, %s\n", course.ID%10000, course.Name) } }