Documentation ¶
Index ¶
- Variables
- func Wrap(applicationError error, originError error) error
- type AddCollaboratorCommand
- type AddStudentCommand
- type AddTaskCommand
- type AllCoursesQuery
- type AllTasksQuery
- type Application
- type Commands
- type CommonCourse
- type CreateCourseCommand
- type Deadline
- type ExtendCourseCommand
- type GeneralTask
- type Period
- type Queries
- type RemoveCollaboratorCommand
- type RemoveStudentCommand
- type SpecificCourseQuery
- type SpecificTask
- type SpecificTaskQuery
- type TestData
- type TestPoint
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCourseDoesntExist = errors.New("course doesn't exist") ErrTeacherDoesntExist = errors.New("teacher doesn't exist") ErrStudentDoesntExist = errors.New("student doesn't exist") ErrGroupDoesntExist = errors.New("group doesn't exist") ErrTaskDoesntExist = errors.New("course task doesn't exist") ErrDatabaseProblems = errors.New("database problems") )
Functions ¶
Types ¶
type AddCollaboratorCommand ¶
type AddStudentCommand ¶
type AddTaskCommand ¶
type AllCoursesQuery ¶
type AllTasksQuery ¶
type Application ¶
type Commands ¶
type Commands struct { CreateCourse createCourseHandler ExtendCourse extendCourseHandler AddCollaborator addCollaboratorHandler RemoveCollaborator removeCollaboratorHandler AddStudent addStudentHandler RemoveStudent removeStudentHandler AddTask addTaskHandler }
type CommonCourse ¶
type CreateCourseCommand ¶
type ExtendCourseCommand ¶
type GeneralTask ¶
type Queries ¶
type Queries struct { SpecificCourse specificCourseHandler AllCourses allCoursesHandler SpecificTask specificTaskHandler AllTasks allTasksHandler }
type RemoveStudentCommand ¶
type SpecificCourseQuery ¶
type SpecificTask ¶
type SpecificTaskQuery ¶
Click to show internal directories.
Click to hide internal directories.