Documentation ¶
Index ¶
- type Class
- type ClassService
- func (s ClassService) FindAll() ([]Class, error)
- func (s ClassService) FindBetweenDates(begin, end time.Time) ([]Class, error)
- func (s ClassService) FindByGroupIdBetweenDates(groupId int, begin, end time.Time) ([]Class, error)
- func (s ClassService) FindById(id int) (Class, error)
- func (s ClassService) Save(ip net.IP, agent int, c *Class) error
- type Student
- type StudentService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClassService ¶
type ClassService struct {
// contains filtered or unexported fields
}
func NewClassService ¶
func NewClassService(sqler db.SQLer) ClassService
func (ClassService) FindAll ¶
func (s ClassService) FindAll() ([]Class, error)
func (ClassService) FindBetweenDates ¶
func (s ClassService) FindBetweenDates(begin, end time.Time) ([]Class, error)
func (ClassService) FindByGroupIdBetweenDates ¶
type Student ¶
type Student struct { Id int Enrollment enrollment.Enrollment Attended bool // contains filtered or unexported fields }
type StudentService ¶
type StudentService struct {
// contains filtered or unexported fields
}
func NewStudentService ¶
func NewStudentService(sqler db.SQLer) StudentService
func (StudentService) FindAll ¶
func (s StudentService) FindAll() ([]Student, error)
Click to show internal directories.
Click to hide internal directories.