|
|
|
@ -613,7 +613,7 @@ func GenerateSectionData(config Config, users []User) []Section {
|
|
|
|
my_section := course_information[rand.Intn(len(course_information))]
|
|
|
|
my_section := course_information[rand.Intn(len(course_information))]
|
|
|
|
my_section.SectionID = sectionIDs[i]
|
|
|
|
my_section.SectionID = sectionIDs[i]
|
|
|
|
my_section.Instructor = instructorUIDs[rand.Intn(len(instructorUIDs))]
|
|
|
|
my_section.Instructor = instructorUIDs[rand.Intn(len(instructorUIDs))]
|
|
|
|
my_section.CourseType = course_type[rand.Intn(len(course_type))]
|
|
|
|
my_section.CourseType = "default"
|
|
|
|
my_section.GradesDue = dueDates[rand.Intn(len(dueDates))]
|
|
|
|
my_section.GradesDue = dueDates[rand.Intn(len(dueDates))]
|
|
|
|
sections[i] = my_section
|
|
|
|
sections[i] = my_section
|
|
|
|
|
|
|
|
|
|
|
|
|