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

Method SearchPosts

internal/repository/search.go:17–17  ·  view source on GitHub ↗
(ctx context.Context, keywords []string)

Source from the content-addressed store, hash-verified

15type SearchRepository interface {
16 SearchComments(ctx context.Context, keywords []string) ([]domain.CommentSearch, error)
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)

Callers 1

SearchPostsMethod · 0.65

Implementers 1

searchRepositoryinternal/repository/search.go

Calls

no outgoing calls

Tested by

no test coverage detected