MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / GetPostsCount

Method GetPostsCount

internal/repository/post.go:319–321  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

GetPostsCountMethod · 0.65

Tested by

no test coverage detected