Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { GetAllProblems() domain.AllProblemsAdminApp GetProblem(problemId uint) (*domain.ProblemAdminApp, error) CreateProblem(poserId uint, newProblem domain.ProblemAdminApp) (*domain.Problem, error) UpdateProblem(problemId uint, updatedProblem domain.ProblemAdminApp) (*domain.ProblemAdminApp, error) DeleteProblem(problemId uint) error GetStats() []domain.ProblemAdminStatsApp }
func NewService ¶
Click to show internal directories.
Click to hide internal directories.