Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHomeworkService ¶
func NewHomeworkService(homeworkGateway HomeworkGateway) *homeworkService
func NewMockHomeworkService ¶
func NewMockHomeworkService() *mockHomeworkService
Types ¶
type HomeworkGateway ¶
type HomeworkGateway interface { GetSubjects(opts entity.Opts) ([]*entity.Subject, error) GetAuthors(opts entity.Opts) ([]*entity.Author, error) GetSpecifications(opts entity.Opts) ([]*entity.Specification, error) GetYears(opts entity.Opts) ([]*entity.Year, error) GetTopicsOrExercises(opts entity.Opts) ([]*entity.TopicOrExercise, error) }
Click to show internal directories.
Click to hide internal directories.