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

Method GetPostById

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

Source from the content-addressed store, hash-verified

21 Publish(ctx context.Context, postId uint, uid int64) error
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)

Callers 6

PublishMethod · 0.65
GetPostByIdMethod · 0.65
DeleteMethod · 0.65
handleEventMethod · 0.65
DetailMethod · 0.65

Implementers 1

postServiceinternal/service/post.go

Calls

no outgoing calls

Tested by

no test coverage detected