ms-tester/internal/problems/pg_repository.go
Vyacheslav1557 be25404852 feat:
2024-10-13 19:01:36 +05:00

13 lines
326 B
Go

package problems
import (
"context"
"git.sch9.ru/new_gate/ms-tester/internal/models"
)
type ProblemPostgresRepository interface {
CreateProblem(ctx context.Context, title string) (int32, error)
ReadProblemById(ctx context.Context, id int32) (*models.Problem, error)
DeleteProblem(ctx context.Context, id int32) error
}