Documentation
¶
Index ¶
Constants ¶
View Source
const LSE_URL = "http://www.lse.ac.uk"
Variables ¶
Functions ¶
func FormatProperty ¶
func GetDocument ¶
func ProgramAtoi ¶
Types ¶
type Course ¶
type Course struct {
Code string
Title string
URL string
Department string
Students int
Class int
Value float32
Teachers []string // TODO: "Additional Teachers" and paragraphs (regexp)
Availability string // TODO: Store in array (compulsory, optional, others)
Prerequisites string
Content string // TODO: Handle lists?
Teaching string // TODO: Store in array (MT, LT, ST)
Formative string
Readings string
Assessments string
Program int
}
Course structure
func (*Course) GetProperties ¶
Build properties for a course (TODO: Implement channels?)
type Courses ¶
type Courses []*Course
Course collection
func GetAllCourses ¶
func GetAllCourses() (all_courses Courses)
Build course collection for all programmes
func GetCourses ¶
Build course collection for a specified program
func (Courses) GetProperties ¶
Build properties for all courses
Click to show internal directories.
Click to hide internal directories.