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

Method ListPosts

internal/service/post.go:26–26  ·  view source on GitHub ↗
(ctx context.Context, pagination domain.Pagination)

Source from the content-addressed store, hash-verified

24 GetPublishPostById(ctx context.Context, postId uint, uid int64) (domain.Post, error)
25 ListPublishPosts(ctx context.Context, pagination domain.Pagination) ([]domain.Post, error)
26 ListPosts(ctx context.Context, pagination domain.Pagination) ([]domain.Post, error)
27 Delete(ctx context.Context, postId uint, uid int64) error
28 ListAll(ctx context.Context, pagination domain.Pagination) ([]domain.Post, error)
29 GetPost(ctx context.Context, postId uint) (domain.Post, error)

Callers 2

ListPostsMethod · 0.65
ListMethod · 0.65

Implementers 1

postServiceinternal/service/post.go

Calls

no outgoing calls

Tested by

no test coverage detected