Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { ListClasses(from time.Time, till time.Time, groupID string) ([]store.Class, error) AddClasses(classes []store.Class) error }
Interface describes methods for manipulating the timetable
type Postgres ¶
type Postgres struct {
// contains filtered or unexported fields
}
Postgres implements Interface
func NewPostgres ¶
NewPostgres returns the new instance of Postgres
func (*Postgres) AddClasses ¶
AddClasses to the database
Click to show internal directories.
Click to hide internal directories.