Documentation ¶
Index ¶
- func NewApplication(ctx context.Context) (app.Application, func())
- func NewComponentTestApplication(ctx context.Context) app.Application
- type TrainerServiceMock
- func (t TrainerServiceMock) CancelTraining(ctx context.Context, trainingTime time.Time) error
- func (t TrainerServiceMock) MoveTraining(ctx context.Context, newTime time.Time, originalTrainingTime time.Time) error
- func (t TrainerServiceMock) ScheduleTraining(ctx context.Context, trainingTime time.Time) error
- type UserServiceMock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplication ¶
func NewApplication(ctx context.Context) (app.Application, func())
func NewComponentTestApplication ¶
func NewComponentTestApplication(ctx context.Context) app.Application
Types ¶
type TrainerServiceMock ¶
type TrainerServiceMock struct { }
func (TrainerServiceMock) CancelTraining ¶
func (TrainerServiceMock) MoveTraining ¶
func (TrainerServiceMock) ScheduleTraining ¶
type UserServiceMock ¶
type UserServiceMock struct { }
func (UserServiceMock) UpdateTrainingBalance ¶
Click to show internal directories.
Click to hide internal directories.