Documentation ¶
Index ¶
- func Announcement(course *model.Course, class *model.Class) *model.Announcement
- func ClassParam(course *model.Course, part uint8) *model.ClassParam
- func CourseParam(dayOfWeek, period int, teacher *model.Teacher) *model.CourseParam
- func GenULID() string
- func LoadInitialCourseData(teacherMap map[string]*model.Teacher, studentCapacityPerCourse int, ...) []*model.Course
- func LoadStudentsData() []*model.UserAccount
- func LoadTeachersData() []*model.UserAccount
- func PDF(text string, img *Image) []byte
- func Score() int
- func SearchCourseParam() *model.SearchCourseParam
- func ShuffledInts(length int) []int
- func SubmissionData(course *model.Course, class *model.Class, user *model.UserAccount) ([]byte, string)
- type Image
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Announcement ¶
func ClassParam ¶
func ClassParam(course *model.Course, part uint8) *model.ClassParam
func CourseParam ¶
func CourseParam(dayOfWeek, period int, teacher *model.Teacher) *model.CourseParam
func LoadInitialCourseData ¶
func LoadStudentsData ¶
func LoadStudentsData() []*model.UserAccount
func LoadTeachersData ¶
func LoadTeachersData() []*model.UserAccount
func SearchCourseParam ¶
func SearchCourseParam() *model.SearchCourseParam
func ShuffledInts ¶
func SubmissionData ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.