Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Contributor Roles Instructor = "INS" TeachingAssistant = "TA" CommunityContributor = "CC" )
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
Types ¶
type Contributor ¶
type ContributorTeam ¶
type ContributorTeam struct { ID int64 Name string Contributors []Contributor }
ContributorTeam
type Course ¶
type Course struct { ID int64 // Name, required, contains the lecture code and lecture name Name string // Publisher The contribution Team or person. // ContributorTeam ContributorTeam ContributorTeamID int64 // Discipline: Categories of Courses. Discipline string License string Origination string // Version, optional, defined the version of lecture // example: `23 fall`, `24 spring`, `2023`, `2024`. Version string // ResourceAddr: Course Website Link. ResourceAddr string }
type LectureDesc ¶
Click to show internal directories.
Click to hide internal directories.