Documentation ¶
Index ¶
- type WorkDAL
- func (dal *WorkDAL) CreateShift(shift models.Shift) error
- func (dal *WorkDAL) CreateTask(task models.Task) error
- func (dal *WorkDAL) EndShift(id int) error
- func (dal *WorkDAL) EndTask(id int) error
- func (dal *WorkDAL) GetLatestShift() (models.Shift, error)
- func (dal *WorkDAL) GetLatestTask() (models.Task, error)
- func (dal *WorkDAL) ListShifts(limit int) ([]models.Shift, error)
- func (dal *WorkDAL) ListTasks(limit int) ([]models.Task, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.