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

Method Delete

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

Source from the content-addressed store, hash-verified

28 ListPublishPosts(ctx context.Context, pagination domain.Pagination, biz ...int) ([]domain.Post, error)
29 ListPosts(ctx context.Context, pagination domain.Pagination) ([]domain.Post, error)
30 Delete(ctx context.Context, postId uint, uid int64) error
31 GetPost(ctx context.Context, postId uint) (domain.Post, error)
32 ListAllPosts(ctx context.Context, pagination domain.Pagination) ([]domain.Post, error)
33 GetPostsCount(ctx context.Context) (int64, error)

Callers 1

DeleteMethod · 0.65

Implementers 1

postRepositoryinternal/repository/post.go

Calls

no outgoing calls

Tested by

no test coverage detected