Versions in this module Expand all Collapse all v0 v0.1.0 Apr 14, 2023 Changes in this version + const CorrectionFilename + const CorrectionTemplateFilename + const IconError + const IconSuccess + const NoMessage + const SubmissionFilename + const UsercacheFilename + const WorkspaceFilename + var Green = Color("\033[1;32m%s\033[0m") + var Red = Color("\033[1;31m%s\033[0m") + func Color(colorString string) func(...interface{}) string + func CreateCorrectionSheet(name string, corrections []ilias.Correction) *excelize.File + func FilterCorrections(values []ilias.Correction, test func(correction ilias.Correction) bool) (ret []ilias.Correction) + func GetCredentials() *ilias.Credentials + func NewIliasClient() *ilias.Client + func ReadCorrection(path string) (*ilias.Correction, error) + func ReadCorrections(members []string) ([]ilias.Correction, error) + func ReadUserCache() string + func WriteCorrectionTemplate(path string, params TemplateParams) error + func WriteUserCache(username string) + type CorrectionStats struct + Corrected []ilias.Correction + Pending []ilias.Correction + func GetCorrectionStats(corrections []ilias.Correction) CorrectionStats + type CorrectionTemplate struct + Checksum [20]byte + Content []byte + type Exercise struct + Assignment string + Reference string + type Spinner struct + func StartSpinner(title string) *Spinner + func (spin *Spinner) StopError(err error) + func (spin *Spinner) StopSuccess(message string) + func (spin *Spinner) StopSuccessRemove() + func (spin *Spinner) UpdateMessage(message string) + type Table struct + Identifier string + Name string + Reference string + type TemplateParams struct + Student string + Tutor string + type Workspace struct + Corrections map[string][]string + Exercise Exercise + Title string + func ReadWorkspace() Workspace