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

Method Update

internal/service/post.go:20–20  ·  view source on GitHub ↗
(ctx context.Context, post domain.Post)

Source from the content-addressed store, hash-verified

18type PostService interface {
19 Create(ctx context.Context, post domain.Post) (uint, error)
20 Update(ctx context.Context, post domain.Post) error
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)

Callers 4

InitializeMethod · 0.65
UpdateMethod · 0.65
PublishMethod · 0.65
UpdateMethod · 0.65

Implementers 1

postServiceinternal/service/post.go

Calls

no outgoing calls

Tested by

no test coverage detected