Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
UnknownReportCardStructure = errors.New("unknown report card structure")
)
Functions ¶
This section is empty.
Types ¶
type ClassGrade ¶ added in v0.2.0
type ClassGrades ¶
type ClassGrades struct {
Name string `json:"name"`
GlobalMean string `json:"globalMean"`
HasExam bool `json:"hasExam"`
GradeGroups []*GradeGroup `json:"gradeGroups"`
}
type GradeGroup ¶
type ModuleClass ¶ added in v0.2.0
type ModuleClass struct {
Identifier string `json:"id"`
Name string `json:"name"`
Grades []*ClassGrade `json:"grades"`
Mean string `json:"mean"`
Weight uint `json:"weight"`
}
type ModuleReport ¶ added in v0.2.0
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func FromString ¶
func (*Parser) Grades ¶
func (s *Parser) Grades() ([]*ClassGrades, error)
func (*Parser) ReportCard ¶ added in v0.2.0
func (s *Parser) ReportCard() ([]*ModuleReport, error)
Click to show internal directories.
Click to hide internal directories.