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

Method GetPublishPostById

internal/service/post.go:24–24  ·  view source on GitHub ↗
(ctx context.Context, postId uint, uid int64)

Source from the content-addressed store, hash-verified

22 Withdraw(ctx context.Context, postId uint, uid int64) error
23 GetPostById(ctx context.Context, postId uint, uid int64) (domain.Post, error)
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

Callers 2

GetPublishPostByIdMethod · 0.65
DetailPubMethod · 0.65

Implementers 1

postServiceinternal/service/post.go

Calls

no outgoing calls

Tested by

no test coverage detected