Documentation ¶
Index ¶
- type Companies
- type Company
- type Match
- type Matches
- func (m Matches) Add(student *Student, company *Company) Matches
- func (m Matches) CompanyCanSupportMatch(company *Company) bool
- func (m Matches) Equals(m2 Matches) bool
- func (m Matches) FindByStudent(student *Student) *Match
- func (m Matches) StudentHasMatch(student *Student) bool
- func (m Matches) WriteByCompany()
- func (m Matches) WriteByStudent()
- func (m Matches) WriteCSVByCompany()
- func (m Matches) WriteCSVByStudent()
- type Student
- type Students
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matches ¶
type Matches []*Match
func (Matches) CompanyCanSupportMatch ¶
CompanyCanSupportMatch returns true if a company has room to match
func (Matches) Equals ¶
Equals returns true of two sets of matches are exactly equal to one-another.
func (Matches) FindByStudent ¶
FindByStudent finds the student's match in the list of matches, or nil if they haven't been matched yet
func (Matches) StudentHasMatch ¶
StudentHasMatch returns true if the given student has a match already assigned
func (Matches) WriteByCompany ¶
func (m Matches) WriteByCompany()
func (Matches) WriteByStudent ¶
func (m Matches) WriteByStudent()
func (Matches) WriteCSVByCompany ¶
func (m Matches) WriteCSVByCompany()
func (Matches) WriteCSVByStudent ¶
func (m Matches) WriteCSVByStudent()
type Student ¶
func NewStudent ¶
Click to show internal directories.
Click to hide internal directories.