Documentation
¶
Overview ¶
Package application must be ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClockInUC ¶
type ClockInUC struct {
// contains filtered or unexported fields
}
func NewClockInUseCase ¶
func NewClockInUseCase(repo domain.WorkSessionRepository) *ClockInUC
type ClockOutUC ¶
type ClockOutUC struct {
// contains filtered or unexported fields
}
func NewClockOutUseCase ¶
func NewClockOutUseCase(repo domain.WorkSessionRepository) *ClockOutUC
func (*ClockOutUC) Execute ¶
func (uc *ClockOutUC) Execute(t time.Time) (*domain.WorkSession, error)
type GetStatsUC ¶
type GetStatsUC struct {
// contains filtered or unexported fields
}
GetStatsUC handles the business logic for calculating work session statistics
func NewGetStatsUseCase ¶
func NewGetStatsUseCase(repo domain.WorkSessionRepository) *GetStatsUC
NewGetStatsUseCase creates a new instance of GetStatsUC with the provided repository
type GetTodaySessionsUC ¶
type GetTodaySessionsUC struct {
// contains filtered or unexported fields
}
func NewGetTodaySessionsUseCase ¶
func NewGetTodaySessionsUseCase(repo domain.WorkSessionRepository) *GetTodaySessionsUC
func (*GetTodaySessionsUC) Execute ¶
func (uc *GetTodaySessionsUC) Execute() ([]*domain.WorkSession, error)
Click to show internal directories.
Click to hide internal directories.