search

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TagSearch

type TagSearch struct {
	Extra schema.GetTagPageResp
	// contains filtered or unexported fields
}

func NewTagSearch

func NewTagSearch(repo search_common.SearchRepo,
	tagCommonService *tag_common.TagCommonService, followCommon activity_common.FollowRepo) *TagSearch

func (*TagSearch) Parse

func (ts *TagSearch) Parse(dto *schema.SearchDTO) (ok bool)

Parse example: "[tag]hello" -> {exp="tag" w="hello"}

func (*TagSearch) Search

func (ts *TagSearch) Search(ctx context.Context) (resp []schema.SearchResp, total int64, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL