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

Method Create

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

Source from the content-addressed store, hash-verified

17
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

Callers 6

InitializeMethod · 0.65
CreateMethod · 0.65
handleEventMethod · 0.65
EditMethod · 0.65
MockUserMethod · 0.65

Implementers 1

postServiceinternal/service/post.go

Calls

no outgoing calls

Tested by

no test coverage detected