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

Method Update

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

Source from the content-addressed store, hash-verified

22type PostRepository interface {
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)

Callers 1

UpdateMethod · 0.65

Implementers 1

postRepositoryinternal/repository/post.go

Calls

no outgoing calls

Tested by

no test coverage detected