| 9 | ) |
| 10 | |
| 11 | type CheckRepository interface { |
| 12 | Create(ctx context.Context, check domain.Check) (int64, error) |
| 13 | UpdateStatus(ctx context.Context, check domain.Check) error |
| 14 | FindAll(ctx context.Context, pagination domain.Pagination) ([]domain.Check, error) |
| 15 | FindByID(ctx context.Context, checkID int64) (domain.Check, error) |
| 16 | FindByPostId(ctx context.Context, postID uint) (domain.Check, error) |
| 17 | } |
| 18 | |
| 19 | type checkRepository struct { |
| 20 | dao dao.CheckDAO |
no outgoing calls
no test coverage detected