24 lines
402 B
Go
24 lines
402 B
Go
package searcher
|
|
|
|
type ResultTypes = int
|
|
|
|
const (
|
|
TagSearchResult ResultTypes = 1 << iota //0 which is 00000001
|
|
ToneSearchResult
|
|
UserSearchResult
|
|
VidPCountSearchResult
|
|
VidRichSearchResult
|
|
VidSearchResult
|
|
VidTagSearchResult
|
|
VidToneSearchResult
|
|
VidHotKeywordSearchResult
|
|
LouFengSearchResult
|
|
)
|
|
|
|
type Resulter interface {
|
|
Types() ResultTypes
|
|
Data() interface{}
|
|
Count() int64
|
|
HasNext() bool
|
|
}
|