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

Method IsExistPost

internal/repository/search.go:19–19  ·  view source on GitHub ↗

搜索用户

(ctx context.Context, postId uint)

Source from the content-addressed store, hash-verified

17 SearchPosts(ctx context.Context, keywords []string) ([]domain.PostSearch, error) // 搜索文章
18 SearchUsers(ctx context.Context, keywords []string) ([]domain.UserSearch, error) // 搜索用户
19 IsExistPost(ctx context.Context, postId uint) (bool, error)
20 IsExistComment(ctx context.Context, commentId uint) (bool, error)
21 IsExistUser(ctx context.Context, userId int64) (bool, error)
22 InputUser(ctx context.Context, user domain.UserSearch) error // 处理输入用户

Callers 1

isPostIndexExistsMethod · 0.65

Implementers 1

searchRepositoryinternal/repository/search.go

Calls

no outgoing calls

Tested by

no test coverage detected