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

Method UpdateStatus

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

Source from the content-addressed store, hash-verified

23 Create(ctx context.Context, post domain.Post) (uint, error)
24 Update(ctx context.Context, post domain.Post) error
25 UpdateStatus(ctx context.Context, postId uint, uid int64, status uint8) error
26 GetPostById(ctx context.Context, postId uint, uid int64) (domain.Post, error)
27 GetPublishPostById(ctx context.Context, postId uint) (domain.Post, error)
28 ListPublishPosts(ctx context.Context, pagination domain.Pagination, biz ...int) ([]domain.Post, error)

Callers 1

UpdateStatusMethod · 0.65

Implementers 1

postRepositoryinternal/repository/post.go

Calls

no outgoing calls

Tested by

no test coverage detected