(ctx context.Context)
| 317 | } |
| 318 | |
| 319 | func (p *postRepository) GetPostsCount(ctx context.Context) (int64, error) { |
| 320 | return p.dao.GetPostsCount(ctx) |
| 321 | } |
| 322 | |
| 323 | func (p *postRepository) GetPostsByPlate(ctx context.Context, plateId int64, pagination domain.Pagination) ([]domain.Post, error) { |
| 324 | posts, err := p.dao.GetPostsByPlate(ctx, plateId, pagination) |
nothing calls this directly
no test coverage detected