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

Method GetPostsCount

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

Source from the content-addressed store, hash-verified

29 ListAll(ctx context.Context, pagination domain.Pagination) ([]Post, error)
30 GetPost(ctx context.Context, postId uint) (Post, error)
31 GetPostsCount(ctx context.Context) (int64, error)
32 GetPostsByPlate(ctx context.Context, plateId int64, pagination domain.Pagination) ([]Post, error)
33}
34

Callers

nothing calls this directly

Implementers 1

postDAOinternal/repository/dao/post.go

Calls

no outgoing calls

Tested by

no test coverage detected