package
0.0.0-20240613211532-eeaca3f80a88
Repository: https://github.com/myhomeworkspace/api-server.git
Documentation: pkg.go.dev

# Functions

GetCurrentTerm returns a TermInfo struct for the current academic term.
GetTermByCode returns the TermInfo struct for the term with the given code, or ErrBadTermCode if the term couldn't be found.
ParseScheduledMeeting parses the given time info string, in a format like "MW4-5.30".
ParseTimeInfo parses out the time information from an input string in the format "MW9-11,F9".

# Variables

ErrBadTermCode is reported when the given term code doesn't exist.

# Structs

A ScheduledMeeting struct contains details about a scheduled meeting in a TimeInfo.
A TermInfo struct contains information about an academic term.
A TimeInfo struct contains details about when a class's section meets.