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

Method Delete

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

Source from the content-addressed store, hash-verified

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)
30 GetPostsCount(ctx context.Context) (int64, error)

Callers 4

DeleteMethod · 0.65
InitializeMethod · 0.65
DeleteMethod · 0.65
DeletePostMethod · 0.65

Implementers 1

postServiceinternal/service/post.go

Calls

no outgoing calls

Tested by

no test coverage detected