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

Method Create

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

Source from the content-addressed store, hash-verified

21
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)

Callers

nothing calls this directly

Implementers 1

postRepositoryinternal/repository/post.go

Calls

no outgoing calls

Tested by

no test coverage detected